Réponse apportée
Frequency plot not working properly when using IFFT
time_step=(Time(2)-Time(1)); Check with timestep. It may not be constant difference between first two values in _Time_ vect...

environ 4 ans il y a | 0

| A accepté

Réponse apportée
Plot X, Y, Z axes with respect to time
x_back_accel = cell2mat(backside_accel(:,1)); y_back_accel = cell2mat(backside_accel(:,2)); z_back_accel = cell2mat(backside...

environ 4 ans il y a | 0

Réponse apportée
Unable to solve this coupled boundary value differential Equation
if iterator1==1 ic = [p21 1 0 0 p11]; [T,Y] = ode45(@(T,Y) ftotal(Pr,T,Y), etaspan, ic); m21=Y(end,1...

environ 4 ans il y a | 0

Réponse apportée
How can I assign multiple inputs into variables
%% Calculation %Station 1 R = 287; %Gas constant T01= 339; %Stagnation Temperature or total inlet temperature Patm = 10132...

environ 4 ans il y a | 0

Réponse apportée
How to Combine ODE Plots with Different Initial Concentration
Rentang = linspace(0, 48, 50); C0 = [0.2781456954 5.197889182 52.77015848]; %biomass, substrate, product initial concentration ...

environ 4 ans il y a | 0

| A accepté

Réponse apportée
Table shows 1x1 sym
function s = angle(r2,a2) Change the return value in function to s

environ 4 ans il y a | 0

Réponse apportée
Generation of error matrix from AR(1) model, issue
t=5; n=10; u_t = randn(1,n) %innovation term epsilon = zeros(t,n); %preallocation rho=0.5; %parameter ρ for the AR(1) model ...

environ 4 ans il y a | 0

| A accepté

Réponse apportée
I am facing problem with the code which i giving below.
% Solving ODE for Pendulum clear all close all clc t = [0 30]; theta0 = [30 0 0]; L = 5; m = 2; g = 9.8;...

environ 4 ans il y a | 0

Réponse apportée
HOW TO PLOT SINGLE GRAPH OF TWO EQUATION WHICH IS CONDITIONALLY SATISFIED
clear all; Vds=0:0.01:.3; Vt=0.4; Vgs=0.6; Mn=398*10^-4; Cox=9.99*10^-10; p=2; k=Mn*Cox*p; for kk = 1:length(Vds) if Vds(k...

environ 4 ans il y a | 0

Réponse apportée
Plotting a high order function
plot(x,f2(x),'.k') give the necessary input values to functions created.

environ 4 ans il y a | 0

| A accepté

Réponse apportée
Saving values of a variable in while loop
errorVal(n,:)=sum(error(:));

environ 4 ans il y a | 0

Réponse apportée
Two y axis with the same data set
dk = 1000; dB = linspace(0.002,dk,7)*1e-6; % in micrometer Sg = linspace(0.001,20,7); hold all M = rand(7); t = ti...

environ 4 ans il y a | 0

| A accepté

Réponse apportée
How to check for size of input vector
A = [1 , 5]; % compare the size of vector entered by user is 1 X 5 B = [5 , 1]; % compare the size of v...

environ 4 ans il y a | 0

Réponse apportée
Hello, while i am running a linear equation it is showing that Row dimension of Aeq is inconsistent with length of beq. I am sharing the problem below
clear all x0=[0 0]; A=[1 1;3 1]; b=[50;90]; lb=[0 0]; ub=[1 1] Aeq =[] Beq = [] [x,fval,exitflag,output]=fmincon(@second...

environ 4 ans il y a | 0

Réponse apportée
why is my plot only showing 1 diagonal line
clear close all t=0; V = 0; dt = 0.1; S = 3; CD = 0.1; T = 10000; m = 500; % plot(t,V) hold all while t<=10 i...

environ 4 ans il y a | 0

Réponse apportée
Obtain rho and pval values from a loop of data measurements
[rho(i,:),pval(i,:)] = corr(x, y, 'type', 'Pearson');

environ 4 ans il y a | 0

| A accepté

Réponse apportée
Plotting of different nonlinear equations in different ranges segment wise in a single graph
A = 0:0.1:2; b = 0.3; c = 0.7; y0 = 0; % y = 1:10; for i = 1: numel(A) x = A(i); if (A(i)<=c) & (A(i)<b) ...

environ 4 ans il y a | 0

| A accepté

Réponse apportée
REgarding plotting of graph in matlab
ylim([15 25])

environ 4 ans il y a | 1

| A accepté

Réponse apportée
I am using block matlab function but i got this error. ''Size mismatch (size [4 x 4] ~= size [1 x :?]). The size to the left is the size of the left-hand side of the assignme'
Give input to function variable, _w_ as scalar value instead of vector. E.g. w = 2; and not w = [2 3 4]

environ 4 ans il y a | 0

Réponse apportée
The following Error during exporting a reconstruction or a model. How to resolve this
tmp_anno = strcat( tmp_anno,' <p>' ,model.modelAnnotation(i), '</p>'); % ^ ^ Change to ()...

environ 4 ans il y a | 0

Réponse apportée
In this coding when i am giving m2=0 value, why no graph is coming?
When m2 is zero, the ode45 returns NaN values. That's why you don't see the graph

environ 4 ans il y a | 1

Réponse apportée
'Index exceeds the number of array elements ' why this error is showing?
I = 0:0.1:20; y = [0 0]; %% Solve using ode45 [tsol,ysol] = ode45(@my_ode_without_tld,[0 10],[0;1]); %% plotting plot(tsol,...

environ 4 ans il y a | 1

Réponse apportée
MATRIX MANUPULATION IF CONDTION NOT WORKING
for i = 1:4 if M(i,2)<9 & M(i,2) >4 M(i,4)=0; end end Close the parenthesis and run it.

environ 4 ans il y a | 1

| A accepté

Réponse apportée
Error'incorrect dimensions for matrix multiplication'
phis=3; phib=8; zeta=-.95:0.5:10; Eg=[-2.9583 5.2519 -6.5456 5.2455 -0.4883 -7.0614 -6.5562] xi=[1 1 1 1 1 1]; for n=1:1:6 ...

environ 4 ans il y a | 0

Réponse apportée
Help plotting a graph
% Given Ma=0.44 deltaH=17940; W_cp=0.97; P_a=12.93252; m_dot=26; T_t4=2150; T_a=506.21; gamma=1.4; R=53.35; Cp=0.239...

plus de 4 ans il y a | 1

| A accepté

Réponse apportée
Unable to perform assignment because the size of the left side is 98-by-50 and the size of the right side is 98-by-32.
XTrain{idx} = extract(afe,xPadded);% cell array Use curly brackets just like _XTrainC_

plus de 4 ans il y a | 0

Réponse apportée
Replace -99 with NaN
Data = load('precip.txt'); % use load function Data(Data == -99) = NaN Use load function instead of readtable and try with co...

plus de 4 ans il y a | 0

Réponse apportée
identity matrix nth order
n = [1:1:20]; for k = 1:length(n) M{k}=eye(n(k)).*0.02; X = sprintf('Identity matrix of order %0d',k); disp(X) ...

plus de 4 ans il y a | 0

Réponse apportée
Find indices with for loop
WearPinionLD = rand(37,7); Ft = rand(37,1); for i=1:37 index{i} =find(WearPinionLD(i,:)>=Ft(i)); end index.'

plus de 4 ans il y a | 0

| A accepté

Réponse apportée
How to perform integration inside for loop? [matrix dimension must agree issue]
clc clear all close all h=6.582*10^-16; k=8.617*10^-5; T=300; beta=7.021*10^-4; gamma=1108; C1=5.5; C2=4; A1=3.231...

plus de 4 ans il y a | 0

| A accepté

Charger plus