Community Profile

photo

Sibi


VIT

Last seen: en dag ago Active since 2020

Research scholar at VIT

Statistics

All
  • Treasure Hunt Participant
  • MATLAB Central Treasure Hunt Finisher
  • 3 Month Streak
  • Revival Level 1
  • Magic Numbers Master
  • Matrix Patterns I Master
  • Number Manipulation I Master
  • Indexing III Master
  • Magic Numbers II Master
  • Indexing II Master
  • Matrix Patterns II Master
  • Matrix Patterns III Master

View badges

Content Feed

View by

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

9 månader ago | 1

| accepted

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

9 månader ago | 0

Answered
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

9 månader ago | 0

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

10 månader ago | 0

Answered
extract a number from 1*1 cell
cell2mat(tbl2)

10 månader ago | 0

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

10 månader ago | 0

| accepted

Answered
Compare strings of different size/length
try this,

10 månader ago | 0

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

10 månader ago | 0

| accepted

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

10 månader ago | 0

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

10 månader ago | 0

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

10 månader ago | 1

| accepted

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

10 månader ago | 0

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

10 månader ago | 2

| accepted

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

10 månader ago | 0

| accepted

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

11 månader ago | 0

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

11 månader ago | 1