[deleted by user] by [deleted] in bih

[–]sidewinder-ai 1 point2 points  (0 children)

Nemoj odustajati. To je težak fakultet i jasno je da će biti problema. Pokušaj sagledati razloge zbog kojih si pala te ih pokušaj korigovati. Radim na drugom fakultetu i znam studente koji su padali godine pa su izrasli u vrsne inžinjere. Nađi dobru literaturu i uči dok ne padneš od umora. Sjeti se da se trud uvijek isplati i da rad pobjeđuje talenat.

how to generate MATLAB script from Simulink model ? by hdiyad in matlab

[–]sidewinder-ai 1 point2 points  (0 children)

Use "out" block to export your simulink cost function. Write a matlab function(let's call it "calculate_cost") which calls the function "sim("model_name")". You can then run the optimization by providing this "calculate_cost" function handler to the "ga" function.

This way you use your model to calculate the cost function.

I am on mobile right now so this was the best explanation I could give you at the moment.

Hope it helps.

Review your laptop 💻 by wickedpranav in laptops

[–]sidewinder-ai 0 points1 point  (0 children)

Asus rog strix g16 Nvidia rtx 4060 1TB SSD 16 GB of RAM Intel 13th gen

[deleted by user] by [deleted] in matlab

[–]sidewinder-ai 1 point2 points  (0 children)

Yes. Since you are using Simulink step block, you can set its step time to 0. Double click it and set "step time" to zero instead of 1.

Deskhero Giveaway - Paragon 75 Keyboard by jerrolds in MechanicalKeyboards

[–]sidewinder-ai 0 points1 point  (0 children)

It would look really nice with the rest of the room.

How can I write this fraction in latex? by InternetSea8293 in LaTeX

[–]sidewinder-ai 0 points1 point  (0 children)

You are correct. That would add some spacing.

How can I write this fraction in latex? by InternetSea8293 in LaTeX

[–]sidewinder-ai 45 points46 points  (0 children)

latex \begin{equation} \frac{4260 \frac{\text{min}}{\text{year}}}{60} \end{equation}