How do I calculate the square of TStep5 divided by the average of TStep4 and TStep2?
3 Ansichten (letzte 30 Tage)
Ältere Kommentare anzeigen
If TStep = Step', and TStep2=TStep(2), TStep4=TStep(4), TStep5=TStep(5), how do I calculate the square of TStep5 divided by the average of TStep4 and TStep2?
0 Kommentare
Antworten (1)
David Hill
am 21 Sep. 2019
TStep5^2/mean([TStep4,TStep2]);
If you explained what you really what to do, it would be easier to help. There is likely a must easier approach than you are doing and assigning variable to each member of your array should not be done.
0 Kommentare
Siehe auch
Kategorien
Mehr zu Logical finden Sie in Help Center und File Exchange
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!