Not enough input arguments.
1 次查看(过去 30 天)
显示 更早的评论
I want to build a graph of this equation
where phi0=pi/3. and it's graph is like
but I am getting an error " not enough input arguments'. Please help me to resolve the error. Below is my code
clear all; close all; clc;
phi=0.9*pi;
phi0=pi/3;
PHI=0:2*pi;
%%PRC Type-1:
z=[1-cos*(phi)]*exp*{3*[cos*(phi-phi0)-1]};
% Plot the signal versus time:
figure;
plot(PHI,z);
0 个评论
采纳的回答
VBBV
2022-3-26
clear all; close all; clc;
% phi=0.9*pi;
phi0=pi/3;
phi=0:0.1:2*pi;
%%PRC Type-1:
z=(1-cos(phi)).*exp(3*(cos(phi-phi0)-1));
% Plot the signal versus time:
figure;
plot(phi,z);
axis([0 2*pi -0.5 0.8])
更多回答(0 个)
另请参阅
类别
在 Help Center 和 File Exchange 中查找有关 Waveform Generation 的更多信息
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!