what wrong with the script

i dont understand the problem

3 个评论

for a = 1:100000
if y ==a^2*(0.2^2+a^2)-a^3
fprintf("%f\n",a)
end
end
The code snippet has no meaning. What exactly you are trying?
Don't attach your code as image. Copy and paste it here.
this is the question am trying to answer
matlab does let me paste, i can cope but when i paste it doesnt show

请先登录,再进行评论。

 采纳的回答

madhan ravi
madhan ravi 2020-9-12

0 个投票

Remove {
}
And add end for each for and if.

更多回答(0 个)

类别

帮助中心File Exchange 中查找有关 Startup and Shutdown 的更多信息

产品

Community Treasure Hunt

Find the treasures in MATLAB Central and discover how the community can help you!

Start Hunting!

Translated by