How to use "raise to the power" function in matlab

93 Ansichten (letzte 30 Tage)
Virajan Verma
Virajan Verma am 5 Okt. 2018
Bearbeitet: KSSV am 5 Okt. 2018
Jn(icounter)=sqrt(pow((Lxn_dash),2)+pow((mxn_dash),2)+pow((nxn_dash),2)) Lxn_dash to the power 2??

Antworten (2)

Torsten
Torsten am 5 Okt. 2018
Jn(icounter) = sqrt(Lxn_dash^2 + mxn_dash^2 + nxn_dash^2)

KSSV
KSSV am 5 Okt. 2018
Bearbeitet: KSSV am 5 Okt. 2018
Lxn_dash^2
if your Lxn_dash is an array..you have to follow element by element power
Lxn_dash.^2

Kategorien

Mehr zu MATLAB finden Sie in Help Center und File Exchange

Tags

Community Treasure Hunt

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

Start Hunting!

Translated by