Error using tabular/plot
Mostra commenti meno recenti
This is my code :
N=2002;
T=1E-6;
Fs=N/T;
V=C2matcap033;
F = Fs*[0:N-1]/N;
t=T*[0:N-1]/N;
figure()
plot(t,V,'LineWidth',3,'r');
grid on;
xlabel('Time (s)')
ylabel('Voltage (mV)')
axis tight
How can i manage this error:
Error using tabular/plot
Too many input arguments.
Error in testtttt (line 11)
plot(t,V,'r','LineWidth',3);
Risposta accettata
Più risposte (1)
dpb
il 10 Feb 2021
Named parameters must follow X,Y,linespec triplets.
plot(t,V,'r','LineWidth',3);
instead. Or, alternatively,
plot(t,V,'LineWidth',3,'Color','r');
1 Commento
nurul auni
il 14 Feb 2021
Categorie
Scopri di più su 2-D and 3-D Plots in Centro assistenza e File Exchange
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!

