Community Profile

Girijashankar Sahoo

Last seen: 23日 前 2018 年からアクティブ

All

バッジを表示

Content Feed

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...

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...

1年以上 前 | 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, ...

1年以上 前 | 1

Example signals in matlab
%%use signal system and DSP tool box, plenty of example available

1年以上 前 | 0

generating wrong Nyquist plot of tf
sys=tf([0 0 1 3],[1 -3 0 0]) nyquist(sys)

1年以上 前 | 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)); ...

1年以上 前 | 0

Area under the curve using ginput
%% In this code area under the two peak use Area=trapz(Peak)

1年以上 前 | 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]...

1年以上 前 | 0

how do i define a convolution layer for time series data matlab
Choose length of input is same as length of comvolution layer

1年以上 前 | 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,[],'...

1年以上 前 | 0

Convert from SNR to Eb/N0 (Matlab)
multiply SNR to Ts/n SNR*Ts/n

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(...

1年以上 前 | 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

1年以上 前 | 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...

1年以上 前 | 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...

1年以上 前

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年以上 前

Why can't I do the integral?
%% run the program perhapes it work F = 1431/19208

1年以上 前 | 0

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)

1年以上 前 | 0

Problem in Curve fitting
check the again, I get your result with same code

1年以上 前 | 0

How do I plot this as a unit step response
plot([0:0.001:10],0.5*(1 - exp(-2*t)))

1年以上 前 | 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]

1年以上 前 | 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...

1年以上 前 | 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))...

1年以上 前 | 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...

1年以上 前 | 0

directory xxx is not writeable Error
change the target directory to C:\document-->MATLAB

1年以上 前 | 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...

1年以上 前 | 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...

1年以上 前 | 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 ...

1年以上 前 | 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...

1年以上 前 | 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:...

1年以上 前 | 0

| 採用済み