Community Profile

# Girijashankar Sahoo

Last seen: 12ヶ月 前 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...

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

| 採用済み

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

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

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

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

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

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

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

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

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

| 採用済み

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

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

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

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

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)

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

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

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

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

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

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

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 have a new line inside a string ?
set(handles.parameterW,'string',{['stiffness = ',num2str(A)+newline+' Nm/deg,',' Damping = ',num2str(B),' or set(handles.par...

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

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

| 採用済み

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 to solve a System of First Order ODE
clc clear all close all %t=[0:0.01:100]; syms y1(t) y2(t) ode1 = diff(y1) == -0.02*y1 + 0.02*y2; ode2 = diff(y2) == 0.02*y...

| 採用済み

Matlab code for Reactive Power Optimization Using Genatic algorithm IEEE 14 bus
Reactive Power Optimization Using Genatic algorithm IEEE 14 bus

4年弱 前 | 1 件の回答 | 0