Community Profile

photo

Girijashankar Sahoo


Last seen: 6 days ago
33 total contributions since 2018

Girijashankar Sahoo's Badges

  • Knowledgeable Level 2
  • First Answer
  • Solver
  • Thankful Level 1

View details...

Contributions in
View by

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

9 days ago | 0

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

14 days ago | 0

| accepted

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

14 days ago | 1

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

18 days ago | 0

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

18 days ago | 0

Answered
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)); ...

18 days ago | 0

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

19 days ago | 0

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

22 days ago | 0

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

22 days ago | 0

Answered
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,[],'...

22 days ago | 0

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

23 days ago | 0

| accepted

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

23 days ago | 0

Answered
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

23 days ago | 1

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

24 days ago | 0

Solved


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

25 days ago

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

25 days ago

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

26 days ago | 0

Answered
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)

26 days ago | 0

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

26 days ago | 0

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

26 days ago | 0

Answered
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]

26 days ago | 0

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

26 days ago | 0

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

26 days ago | 0

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

26 days ago | 0

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

26 days ago | 0

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

26 days ago | 0

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

26 days ago | 0

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

26 days ago | 0

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

26 days ago | 0

| accepted

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

27 days ago | 0

| accepted

Load more