How to divide and times in matlab
Ältere Kommentare anzeigen
Hey everyone!
Basically im trying to write my fist line of code, in matlab, to the given formula: |G(jw) |= 1/√(R^2+(wL- 1/wC)^2 ) Now, im not sure how to get the 1/wC term as I do not know how to divide in matlab. also, how do I get the ^2? All I want is the general form as an answer. I should be able to get it from there! Thanks!
Akzeptierte Antwort
Weitere Antworten (4)
Paulo Silva
am 11 Dez. 2011
1/sqrt(R^2+(w*L-1/(w*C))^2)
if perhaps you are working with arrays or vectors and you want the operations to be performed element wise you must put a period before the symbols like this:
.^
.*
./
u-will-neva-no
am 12 Dez. 2011
0 Stimmen
Samra Sarwar
am 4 Dez. 2019
0 Stimmen
L = 2500
wi = 15
τ = L/wi
Please code this in MATLAB
Zahin Akif
am 19 Feb. 2020
0 Stimmen
L = 2500
wi = 15
τ = L/wi
Kategorien
Mehr zu Logical finden Sie in Hilfe-Center und File Exchange
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!