MATLAB and Simulink resources for Arduino, LEGO, and Raspberry Pi
Learn moreOpportunities for recent engineering grads.
Apply TodayMATLAB Central > MATLAB Newsreader > problem on quad 

hi all, 
"Azrul " <azrul.afifi@gmail.com> wrote in message <hpp9t0$ikr$1@fred.mathworks.com>... 
"Azrul " <azrul.afifi@gmail.com> wrote in message <hpp9t0$ikr$1@fred.mathworks.com>... 
thanks for both solutions. it works :) .. actually, my problem is to plot the graph y vs c .. in other words, instead of setting c=1120, i should have a loop for c like c=[800:20:2000] so that i can identify which value of c gives me the best y .. i have tried to browsed around but could not find the similar problem .. thanks in advance 
here is my new script .. 
"Azrul " <azrul.afifi@gmail.com> wrote in message <hpvf0c$kn1$1@fred.mathworks.com>... 
sorry .. its not that as usual it failed .. but as usual, i cannot do it .. thanks for ur help 
hello, the program works .. but the problem is its giving me the wrong answer .. i run the quad with 3 different function ie. 
I have not looked at your functions. However, since there is some question 
A tag is like a keyword or category label associated with each thread. Tags make it easier for you to find threads of interest.
Anyone can tag a thread. Tags are public and visible to everyone.