Girijashankar Sahoo
Followers: 0 Following: 0
Feeds
已回答
Categorize data in if else statement
Weight=randi([1 100],1,50); Height=randi([1 3],1,50); BMI=Weight./(Height).^2; % to loop my BMI and categorize it into 'unde...
Categorize data in if else statement
Weight=randi([1 100],1,50); Height=randi([1 3],1,50); BMI=Weight./(Height).^2; % to loop my BMI and categorize it into 'unde...
3 years 前 | 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...
3 years 前 | 0
| 已接受
已回答
Help sketching equation into 3d graph
% 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, ...
Help sketching equation into 3d graph
% 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, ...
3 years 前 | 1
已回答
Example signals in matlab
%%use signal system and DSP tool box, plenty of example available
Example signals in matlab
%%use signal system and DSP tool box, plenty of example available
3 years 前 | 0
已回答
How to plot a graph on frequency domain when i don't have any time parameter?
You are calculating return loss parameter with frequency. Calculate PSD input and PSD of return signal X(K)=(1/N)*fft(x(n)); ...
How to plot a graph on frequency domain when i don't have any time parameter?
You are calculating return loss parameter with frequency. Calculate PSD input and PSD of return signal X(K)=(1/N)*fft(x(n)); ...
3 years 前 | 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)
3 years 前 | 0
已回答
Need help with Fourier Transform fft
MATLAB code 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]...
Need help with Fourier Transform fft
MATLAB code 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]...
3 years 前 | 0
已回答
how do i define a convolution layer for time series data matlab
Choose length of input is same as length of comvolution layer
how do i define a convolution layer for time series data matlab
Choose length of input is same as length of comvolution layer
3 years 前 | 0
已回答
Split a Number Sequence into n equal parts and then replacing the values in the matrix.
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,[],'...
Split a Number Sequence into n equal parts and then replacing the values in the matrix.
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,[],'...
3 years 前 | 0
已回答
Please amend my code :(
%% 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(...
Please amend my code :(
%% 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(...
3 years 前 | 0
已回答
Multiple plots taking different elements of X & Y matrices in a systematic pattern
x=[1:1:40]; y=[1:1:40]; l=length(x)/4 n=1 for i=1:l plot(x(1,n:4*i),y(1,n:4*i)) hold on n=4*i+1; end
Multiple plots taking different elements of X & Y matrices in a systematic pattern
x=[1:1:40]; y=[1:1:40]; l=length(x)/4 n=1 for i=1:l plot(x(1,n:4*i),y(1,n:4*i)) hold on n=4*i+1; end
3 years 前 | 1
已回答
how to obtain the graph?
%% Bro code is same just put your message bit @message get desire line code message=[0 1 1 0 1 0 1 ]; data=[message 0] stairs...
how to obtain the graph?
%% Bro code is same just put your message bit @message get desire line code message=[0 1 1 0 1 0 1 ]; data=[message 0] stairs...
3 years 前 | 0
已解决
Select every other element of a vector
Write a function which returns every other element of the vector passed in. That is, it returns the all odd-numbered elements, s...
3 years 前
已解决
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 ...
3 years 前
已回答
derive the state space from transfer function
b = [0 0 4]; a = [1 2*2^(1/2) 4]; [A,B,C,D] = tf2ss(b,a)
derive the state space from transfer function
b = [0 0 4]; a = [1 2*2^(1/2) 4]; [A,B,C,D] = tf2ss(b,a)
3 years 前 | 0
已回答
How do I make the legend color rectangles smaller?
legend({'A','B'},'Position',[0.2 0.6 0.1 0.2]) %% four-element vector of the form [left bottom width height]
How do I make the legend color rectangles smaller?
legend({'A','B'},'Position',[0.2 0.6 0.1 0.2]) %% four-element vector of the form [left bottom width height]
3 years 前 | 0
已回答
how to obtain the graph?
You have 7 bit, plot in time index 1-2, 2-3, 3-4,4-5,5-6,6-7,7-8 at time index 8 it will reach to next transition value. So we t...
how to obtain the graph?
You have 7 bit, plot in time index 1-2, 2-3, 3-4,4-5,5-6,6-7,7-8 at time index 8 it will reach to next transition value. So we t...
3 years 前 | 0
已回答
Some error being shown continuously
%% fzero function might be helpful for solve in one line instruction x0=0 x = fzero(@(x)16.19983968*(x^4)+(-12.83225571*(x^3))...
Some error being shown continuously
%% fzero function might be helpful for solve in one line instruction x0=0 x = fzero(@(x)16.19983968*(x^4)+(-12.83225571*(x^3))...
3 years 前 | 0
已回答
Plotting the first column of each page on one plot
%% here is i am taking an example might be helpful to you %% I take take 3D matrix, here 8 number of page, each page has 11 col...
Plotting the first column of each page on one plot
%% here is i am taking an example might be helpful to you %% I take take 3D matrix, here 8 number of page, each page has 11 col...
3 years 前 | 0
已回答
directory xxx is not writeable Error
change the target directory to C:\document-->MATLAB
directory xxx is not writeable Error
change the target directory to C:\document-->MATLAB
3 years 前 | 0
已回答
how to obtain the graph?
message=[0 1 1 0 1 0 1 ]; data=[message 0] stairs(data); title ('Line Coding1' ); xlabel('Time'); xlim([1,8]); ylabel('Amp...
how to obtain the graph?
message=[0 1 1 0 1 0 1 ]; data=[message 0] stairs(data); title ('Line Coding1' ); xlabel('Time'); xlim([1,8]); ylabel('Amp...
3 years 前 | 0
已回答
How to have a new line inside a string ?
set(handles.parameterW,'string',{['stiffness = ',num2str(A)+newline+' Nm/deg,',' Damping = ',num2str(B),' or set(handles.par...
How to have a new line inside a string ?
set(handles.parameterW,'string',{['stiffness = ',num2str(A)+newline+' Nm/deg,',' Damping = ',num2str(B),' or set(handles.par...
3 years 前 | 0
已回答
Visualization of 4 dimensional function
%%% this might be helpful for you there is four variable gives 4D matrix plot load patients Height Weight Diastolic Systolic ...
Visualization of 4 dimensional function
%%% this might be helpful for you there is four variable gives 4D matrix plot load patients Height Weight Diastolic Systolic ...
3 years 前 | 0
已回答
difference between fitcnet and patternnet functions
1. FITNET for regression (MATLAB calls it curve fitting) which is supposed to be a replacement for NEWFF) 2. PATTERNNET for pat...
difference between fitcnet and patternnet functions
1. FITNET for regression (MATLAB calls it curve fitting) which is supposed to be a replacement for NEWFF) 2. PATTERNNET for pat...
3 years 前 | 0
已回答
How do I create a matrix C that is comprised of values from matrices A and B, using a nested for loop?
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:...
How do I create a matrix C that is comprised of values from matrices A and B, using a nested for loop?
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:...
3 years 前 | 0
| 已接受