I want to plot a equation. I've attached it. Who can Help me and do it???
1 visualizzazione (ultimi 30 giorni)
Mostra commenti meno recenti
vahid torabi
il 2 Lug 2015
Modificato: Walter Roberson
il 5 Lug 2015
Who can plot my equation? F=F(w), w0,R,L are parameters.
2 Commenti
Brendan Hamm
il 2 Lug 2015
What have you tried already? I'm more than willing to help you learn, not at all willing to do your work for you.
RahulTandon
il 5 Lug 2015
i think i can do it. will get back to you in an hour or so. tandonrahul@live.com. the final o/p should be a script.
Risposta accettata
RahulTandon
il 5 Lug 2015
Modificato: Walter Roberson
il 5 Lug 2015
%%SECTION START
syms a(w) b(w) w w0 R L F M(w) N(w) a1(w) clear;
R = 100; %ohms lets say
w0 = 200*pi ; %radians per second, say
L = 1; % Henry, say
clc;
the abv can be replaced by parameters of the function, later.
clc;
M(w) = w0^2 - w^2;
N(w) = R*w/L;
a(w) = M(w)*w0^2/(M(w)^2 + N(w)^2);
a1(w) = a(w)/w0^2;
b(w) = N(w)/(M(w)^2 + N(w)^2);
F(w) = (a(w)^2 + b(w)^2)^(1/2);
%%now plot
clf;
ezplot3(F(w),a1(w),b(w));
pause(3);
hold on;
ezplot(F(w));
0 Commenti
Più risposte (0)
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!