Community Profile

# Sibi

### VIT

Last seen: 8 jours il y a Actif depuis 2020

Research scholar at VIT

All

#### Content Feed

Afficher par

A répondu
How can i merge arrays without certain value?
x=[0, 212]; y=[22, 0, 0, 233] ; z=[0, 0,33]; xn=length(x) ;yn=length(y);zn=length(z); l=max([xn yn zn]); o=[x zeros(1,l-xn)...

presque 2 ans il y a | 1

| A accepté

A répondu
Smoothing a 2d matrix
x=randi(10,2,3); c = smooth(x(:)); y= reshape(c,height(x),width(x))

presque 2 ans il y a | 0

A répondu
Syntax for Physics Equation
x=0:10; %% for x from 0 to 10 T=1;m=1;rho=1;A=1;m=1;v=1;D=1; a_x=(T/m)-((D*rho*A)/(2*m))*v*(x).^2

presque 2 ans il y a | 0

A répondu
i got a error in median
X is in table,thats why its not working. try this . Xtest=xlsread("Q3Data_TE.xlsx"); X=Xtest(1:501,1:2); [n,p] = size(X); ...

presque 2 ans il y a | 0

A répondu
extract a number from 1*1 cell
cell2mat(tbl2)

presque 2 ans il y a | 0

A répondu
how to calculate the probability of an event with monte carlo simulation
mycode() function mycode() n=1000; x=zeros(n,1); y(1)=1.5 ; y(2)=1.5 ; for i= 1:n for t= 3:100 y(t)=0.6*y(t-1)+0.4...

presque 2 ans il y a | 0

| A accepté

A répondu
Compare strings of different size/length
try this,

presque 2 ans il y a | 0

A répondu
How to replace the elements of a Matrix with the elements of a vector
A = [1, 2, 4, 7, 11, 16, 22, 29, 37, 46]; delta = A(2:end)-A(1:end-1); delta(length(delta)+1) = min(delta); matrice = [0 1 0 ...

environ 2 ans il y a | 0

| A accepté

A répondu
While loop not working the way I thought
i = 1; % Initial parking spot number n = 30; % Number of parking spots spot = zeros(1,n); % 0 means spot is open, ...

environ 2 ans il y a | 0

A répondu
How to store values in a matrix to plot later?
Try this , you should not multiply the infected population to sucesptible population dS_dt = -f*S - S*u - S*v + S*p; ...

environ 2 ans il y a | 0

A répondu
How to make this plot?
d=DATA{:,1};D=DATA{:,2}; min_year=year(min(d)); max_year=year(max(d)); A=zeros(12,max_year-min_year+1); for k=1:length(d) ...

environ 2 ans il y a | 1

| A accepté

A répondu
why is my matlab code doesn't give the right answer
Try this (edited) hold off sumvec1 = [];sum = 0; for n = 10:100 width = ((3 - 0)/n) ; for c = 0:n base1 = ...

environ 2 ans il y a | 0

A répondu
convert white color in image to red color
k is the image(RGB) array j=k(:,:,1); l=k(:,:,2); m=k(:,:,3); l((j>=40))=0; m(j>=40)=0; k(:,:,1)=j;k(:,:,2)=l;k(:,:,3)=m; ...

environ 2 ans il y a | 2

| A accepté

A répondu
finding solutions in matlab within interval for multiple variables
W_g = 500; W_t = 1000; delta_x = 60; g = 32.2; r_i = 6:0.3:9; r_o = 12:0.3:15; V_g_c = sqrt((2*W_t*delta_x*g.*(r_o.^2))./(...

environ 2 ans il y a | 0

| A accepté

A répondu
Variables in a Matrix unable to be called
clc;clear all;cellNum=10; a = 10; %Width of slab (cm) D =0.3733; %Diffusion coeffecient (cm) sigA =0.0158; %Absorbption cross...

environ 2 ans il y a | 0

A répondu
can anyone help me solve these two questions please?
1) F=(x<0)*(-2*x)+(x<=2)*(x>=0)*(x*(x-2))+(x>2)*(log(x-1)); 2) Y=sum(fibonacci(1:10));

environ 2 ans il y a | 1