How do I calculate the square of TStep5 divided by the average of TStep4 and TStep2?
1 visualizzazione (ultimi 30 giorni)
Mostra commenti meno recenti
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 Commenti
Risposte (1)
David Hill
il 21 Set 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 Commenti
Vedere anche
Categorie
Scopri di più su Argument Definitions in Help Center e File Exchange
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!