what wrong with the script

i dont understand the problem

3 Comments

KSSV
KSSV on 12 Sep 2020
Edited: KSSV on 12 Sep 2020
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

Sign in to comment.

 Accepted Answer

madhan ravi
madhan ravi on 12 Sep 2020
Remove {
}
And add end for each for and if.

2 Comments

bro
bro on 12 Sep 2020
Edited: madhan ravi on 12 Sep 2020
thanks

Sign in to comment.

More Answers (0)

Products

Asked:

bro
on 12 Sep 2020

Commented:

bro
on 12 Sep 2020

Community Treasure Hunt

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

Start Hunting!