这个matlab的M文件为何无法绘制?close all clc clear t=[0:pi/25:8*pi]; y=sin(t); plot(t,y,'b:*'); 错误显示? Attempt to execute SCRIPT plot as a function. Error in ==> plot at 6 plot(t,y,'b:*');还有我在命令窗口输入文件名为何

来源:学生作业帮助网 编辑:作业帮 时间:2024/10/03 19:53:41
这个matlab的M文件为何无法绘制?close all clc clear t=[0:pi/25:8*pi]; y=sin(t); plot(t,y,'b:*'); 错误显示? Attempt to execute SCRIPT plot as a function. Error in ==> plot at 6 plot(t,y,'b:*');还有我在命令窗口输入文件名为何
x]OPǿ v}ﶎ c tmiς`L Ep!&d0/vݕ_nإ1isOק䕓ͰuP؆^:lt-؉uͨ~4n`h@5rX}D_hJ#KWB>}_`pkHve!e03T5Mw[bEa tb ģNF8L/zb*z|p!5혊lI{?@c7l/& OwWh+هR r ]jtߒ )^*Pt L3؏6rS$^k~%:M:d̢'d?_S*{FT*.v AKQ[*]z2fiGeFTD<#D

这个matlab的M文件为何无法绘制?close all clc clear t=[0:pi/25:8*pi]; y=sin(t); plot(t,y,'b:*'); 错误显示? Attempt to execute SCRIPT plot as a function. Error in ==> plot at 6 plot(t,y,'b:*');还有我在命令窗口输入文件名为何
这个matlab的M文件为何无法绘制?
close all clc clear t=[0:pi/25:8*pi]; y=sin(t); plot(t,y,'b:*'); 错误显示? Attempt to execute SCRIPT plot as a function. Error in ==> plot at 6 plot(t,y,'b:*');
还有我在命令窗口输入文件名为何也不行?
>> work.m
? The function, script, or class work
cannot be indexed using {} or . indexing.
或者
>> zsqf1.m
? The function, script, or class zsqf1
cannot be indexed using {} or . indexing.

这个matlab的M文件为何无法绘制?close all clc clear t=[0:pi/25:8*pi]; y=sin(t); plot(t,y,'b:*'); 错误显示? Attempt to execute SCRIPT plot as a function. Error in ==> plot at 6 plot(t,y,'b:*');还有我在命令窗口输入文件名为何

没什么问题的,你再吧我的代码复制,运行一遍看看:

clear all;clc;
t=[0:pi/25:8*pi]; 
y=sin(t); 
plot(t,y,'b:*');