Community Profile

photo

RAJKUMAR SAHA


Last seen: 1 year ago Active since 2022

Followers: 0   Following: 0

Statistics

Feeds

View by

Question


why this loop is not working? Actually p_j value is not changing why?
n = input('please enter number of strips :'); for i = 1:n for j = i p_i = 0 p_j = p_i + D/(2*n) epsil...

1 year ago | 2 answers | 0

2

answers

Question


where is the error, why speudo velocity spectrum graph not coming pls help.
%% Elastic Response Spectra % This function generates elastic response specra including Displacement % Spectrum, Pseudo Accele...

1 year ago | 1 answer | 0

1

answer

Question


"Not enough input arguments, Error in my_ode_without_tld_1 (line 24) F = interp1(tdata,ydata)" why this error is showing?
function dydt = my_ode_without_tld_1(t,y,tdata,ydata) % tspan = i; %% Time span %% Initial inputs m1 = 8500...

2 years ago | 1 answer | 0

1

answer

Question


Error using odeset (line 231) Unrecognized property name 'mass_matrix_without_tld'. Error in my_ode_solver_without_tld (line 8) opts = odeset('mass_matrix_without_tld',@(t,y)
function Y = mass_matrix_without_tld(t,y) % Mass matrix function Y = zeros(2,2); Y(1,1) = 1; Y(2,2) = 1; end clc; cle...

2 years ago | 1 answer | 0

1

answer

Question


"Error using vertcat Dimensions of arrays being concatenated are not consistent." why this error showing?
function M = mass(t,q) % Mass matrix function M = zeros(4,4); M(1,1) = 1; M(2,2) = 1; M(3,3) = 1; M(4,2) = 1; M(4,4) = ...

2 years ago | 1 answer | 0

1

answer

Question


'MY_ODE_WITHOUT_TLD returns a vector of length 2688, but the length of initial conditions vector is 2' why this error is showing?
function dydt = my_ode_without_tld(i,y) % tspan = i; %% Time span %% Initial inputs m1 = 10; %% ...

2 years ago | 1 answer | 0

1

answer

Question


In this coding when i am giving m2=0 value, why no graph is coming?
function dxdt = my_ode(i,x) % Conversion to first order parameters % z = x(1); %% displacement of damper % z...

2 years ago | 1 answer | 0

1

answer

Question


'Index exceeds the number of array elements ' why this error is showing?
function dydt = my_ode_without_tld(i,y) % tspan = i; %% Time span %% Initial inputs m1 = 10; %%...

2 years ago | 2 answers | 0

2

answers