division of an equation
2 visualizzazioni (ultimi 30 giorni)
Mostra commenti meno recenti
while writing the following in matlab,
la=(-1:0.1:1)*pi;
T10=a01/(1+b1*cos(la));
message saying matrix dimension must agree.please tell me how to write this in matlab
0 Commenti
Risposte (1)
Azzi Abdelmalek
il 31 Gen 2013
Modificato: Azzi Abdelmalek
il 31 Gen 2013
You can't divide 1 by [ 1 2 3] , you should use operation element by element ./ or .* or .^
la=(-1:0.1:1)*pi;
T10=a01./(1+b1*cos(la));
0 Commenti
Vedere anche
Categorie
Scopri di più su Get Started with MATLAB 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!