matlab里面求导函数a0=0.00085;v=6357.5:0.01:6358.4;y=a0./(1+((v-6358)/0.01736).^2);f=diff(y,1);plot(v,f)但是为什么画不出俩 提示Error using ==> plotVectors must be the same lengths.把plot里面的v去掉就可以,但是我想画出一
来源:学生作业帮助网 编辑:作业帮 时间:2024/06/30 07:07:09
![matlab里面求导函数a0=0.00085;v=6357.5:0.01:6358.4;y=a0./(1+((v-6358)/0.01736).^2);f=diff(y,1);plot(v,f)但是为什么画不出俩 提示Error using ==> plotVectors must be the same lengths.把plot里面的v去掉就可以,但是我想画出一](/uploads/image/z/1108486-46-6.jpg?t=matlab%E9%87%8C%E9%9D%A2%E6%B1%82%E5%AF%BC%E5%87%BD%E6%95%B0a0%3D0.00085%3Bv%3D6357.5%3A0.01%3A6358.4%3By%3Da0.%2F%281%2B%28%28v-6358%29%2F0.01736%29.%5E2%29%3Bf%3Ddiff%28y%2C1%29%3Bplot%28v%2Cf%29%E4%BD%86%E6%98%AF%E4%B8%BA%E4%BB%80%E4%B9%88%E7%94%BB%E4%B8%8D%E5%87%BA%E4%BF%A9+%E6%8F%90%E7%A4%BAError+using+%3D%3D%3E+plotVectors+must+be+the+same+lengths.%E6%8A%8Aplot%E9%87%8C%E9%9D%A2%E7%9A%84v%E5%8E%BB%E6%8E%89%E5%B0%B1%E5%8F%AF%E4%BB%A5%2C%E4%BD%86%E6%98%AF%E6%88%91%E6%83%B3%E7%94%BB%E5%87%BA%E4%B8%80)
matlab里面求导函数a0=0.00085;v=6357.5:0.01:6358.4;y=a0./(1+((v-6358)/0.01736).^2);f=diff(y,1);plot(v,f)但是为什么画不出俩 提示Error using ==> plotVectors must be the same lengths.把plot里面的v去掉就可以,但是我想画出一
matlab里面求导函数
a0=0.00085;
v=6357.5:0.01:6358.4;
y=a0./(1+((v-6358)/0.01736).^2);
f=diff(y,1);plot(v,f)
但是为什么画不出俩 提示
Error using ==> plot
Vectors must be the same lengths.
把plot里面的v去掉就可以,但是我想画出一个图像的横坐标是v的那个图形.问题出现在哪里呢 我是新手
你给的那个程序不行啊 Error using ==> mpower
Matrix must be square.
matlab里面求导函数a0=0.00085;v=6357.5:0.01:6358.4;y=a0./(1+((v-6358)/0.01736).^2);f=diff(y,1);plot(v,f)但是为什么画不出俩 提示Error using ==> plotVectors must be the same lengths.把plot里面的v去掉就可以,但是我想画出一
clear;clc
a0=0.00085;
v=6357.5:0.01:6358.4;
y=a0./(1+((v-6358)/0.01736).^2);
f=diff(y,1);
plot(v(2:end),f)