Girijashankar Sahoo
内容提要
回答
将数据分类在if else语句中
重量= randi([1 100],1,50);高度= randi([1 3],1,50);bmi =重量./(高度)。^2;%将我的BMI循环并将其分类为'unde ...
将数据分类在if else语句中
重量= randi([1 100],1,50);高度= randi([1 3],1,50);bmi =重量./(高度)。^2;%将我的BMI循环并将其分类为'unde ...
1年前|0
回答
index error is appearing for last line
B(1)=B(1)+U(i)*U(k-i+1) % Here you defined length(U)=2 while U(i)*U(k-i+1) is over indexed value % So my suggestion denfine...
index error is appearing for last line
B(1)=B(1)+U(i)*U(k-i+1) % Here you defined length(U)=2 while U(i)*U(k-i+1) is over indexed value % So my suggestion denfine...
1年前|0
|accepted
回答
帮助将方程式素描成3D图
% Size of of your output Z must be 200x200 matix % Try this code for 3D output x=linspace(-1,1, 200); y=linspace(-1, 1.5, ...
帮助将方程式素描成3D图
% Size of of your output Z must be 200x200 matix % Try this code for 3D output x=linspace(-1,1, 200); y=linspace(-1, 1.5, ...
1年前|1
回答
当我没有任何时间参数时,如何在频域上绘制图形?
You are calculating return loss parameter with frequency. Calculate PSD input and PSD of return signal X(K)=(1/N)*fft(x(n)); ...
当我没有任何时间参数时,如何在频域上绘制图形?
You are calculating return loss parameter with frequency. Calculate PSD input and PSD of return signal X(K)=(1/N)*fft(x(n)); ...
1年前|0
回答
Area under the curve using ginput
%% In this code area under the two peak use Area=trapz(Peak)
Area under the curve using ginput
%% In this code area under the two peak use Area=trapz(Peak)
1年前|0
回答
需要帮助傅立叶变换FFT
MATLABcode DFT output is correct. You can varify it by first DFT value which is sum of data sequence 55=sum([8 9 9 6 10 2 5 6]...
需要帮助傅立叶变换FFT
MATLABcode DFT output is correct. You can varify it by first DFT value which is sum of data sequence 55=sum([8 9 9 6 10 2 5 6]...
1年前|0
回答
将数字序列分为n相等的部分,然后替换矩阵中的值。
N= 25 % length of sequence n=sqrt(N) % break the sequence in n element X=randi(30,1,25) A=reshape(X,[n,n]) M=max(A,[],'...
将数字序列分为n相等的部分,然后替换矩阵中的值。
N= 25 % length of sequence n=sqrt(N) % break the sequence in n element X=randi(30,1,25) A=reshape(X,[n,n]) M=max(A,[],'...
1年前|0
回答
请修改我的代码:(
%% if statement end after else, #look the code again grav=9.81; theta=pi/4; v=20; x=0; vx=cos(theta).*v; y=0; vy=sin(...
请修改我的代码:(
%% if statement end after else, #look the code again grav=9.81; theta=pi/4; v=20; x=0; vx=cos(theta).*v; y=0; vy=sin(...
1年前|0
回答
多个图以系统模式采用X&Y矩阵的不同元素
x = [1:1:40];y = [1:1:40];l =长度(x)/4 n = 1 for i = 1:l图(x(1,n:4*i),y(1,n:4*i))持有n = 4*i+1;结尾
多个图以系统模式采用X&Y矩阵的不同元素
x = [1:1:40];y = [1:1:40];l =长度(x)/4 n = 1 for i = 1:l图(x(1,n:4*i),y(1,n:4*i))持有n = 4*i+1;结尾
1年前|1
回答
how to obtain the graph?
% %兄弟一样把你的信息有点@mes代码sage get desire line code message=[0 1 1 0 1 0 1 ]; data=[message 0] stairs...
how to obtain the graph?
% %兄弟一样把你的信息有点@mes代码sage get desire line code message=[0 1 1 0 1 0 1 ]; data=[message 0] stairs...
1年前|0
Solved
Find the sum of all the numbers of the input vector
Find the sum of all the numbers of the input vector x. Examples: Input x = [1 2 3 5] Output y is 11 Input x ...
1年前
回答
连续显示一些错误
%% fzero function might be helpful for solve in one line instruction x0=0 x = fzero(@(x)16.19983968*(x^4)+(-12.83225571*(x^3))...
连续显示一些错误
%% fzero function might be helpful for solve in one line instruction x0=0 x = fzero(@(x)16.19983968*(x^4)+(-12.83225571*(x^3))...
1年前|0
回答
how to obtain the graph?
消息= [0 1 1 0 1 0 1];data = [消息0]楼梯(数据);标题('Line Coding1');Xlabel('Time');xlim([1,8]);Ylabel('amp ...
how to obtain the graph?
消息= [0 1 1 0 1 0 1];data = [消息0]楼梯(数据);标题('Line Coding1');Xlabel('Time');xlim([1,8]);Ylabel('amp ...
1年前|0
回答
如何在字符串中有新行?
set(handles.parameterw,'string',{['hiffs =',num2str(a)+newline+newline+'nm/deg,','damping =',num2str(b),'或set(handles.par ...
如何在字符串中有新行?
set(handles.parameterw,'string',{['hiffs =',num2str(a)+newline+newline+'nm/deg,','damping =',num2str(b),'或set(handles.par ...
1年前|0
回答
FITCNET和Patternnet功能之间的差异
1。FITNET for regression (MATLAB calls it curve fitting) which is supposed to be a replacement for NEWFF) 2. PATTERNNET for pat...
FITCNET和Patternnet功能之间的差异
1。FITNET for regression (MATLAB calls it curve fitting) which is supposed to be a replacement for NEWFF) 2. PATTERNNET for pat...
1年前|0
|accepted
回答
如何使用嵌套的循环创建由矩阵A和B值组成的矩阵C?
C=zeros(4) A = [2 2 3 4; 1 0 1 1; 5 2 1 2; -1 2 -1 2]; B = [2 3 4 5; -1 0 2 2; 7 2 1 4; 2 0 1 2]; for i=1:4 j=1:...
如何使用嵌套的循环创建由矩阵A和B值组成的矩阵C?
C=zeros(4) A = [2 2 3 4; 1 0 1 1; 5 2 1 2; -1 2 -1 2]; B = [2 3 4 5; -1 0 2 2; 7 2 1 4; 2 0 1 2]; for i=1:4 j=1:...
1年前|0
|accepted