Community Profile

photo

Sibi


VIT

Last seen: 3 Tage vor Aktiv seit 2020

Research scholar at VIT

Statistiken

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

Abzeichen anzeigen

Content Feed

Anzeigen nach

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

etwa 3 Jahre vor | 1

| akzeptiert

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

mehr als 3 Jahre vor | 0

Beantwortet
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

mehr als 3 Jahre vor | 0

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

mehr als 3 Jahre vor | 0

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

mehr als 3 Jahre vor | 0

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

mehr als 3 Jahre vor | 0

| akzeptiert

Beantwortet
Compare strings of different size/length
try this,

mehr als 3 Jahre vor | 0

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

mehr als 3 Jahre vor | 0

| akzeptiert

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

mehr als 3 Jahre vor | 0

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

mehr als 3 Jahre vor | 0

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

mehr als 3 Jahre vor | 1

| akzeptiert

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

mehr als 3 Jahre vor | 0

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

mehr als 3 Jahre vor | 2

| akzeptiert

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

mehr als 3 Jahre vor | 0

| akzeptiert

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

mehr als 3 Jahre vor | 0

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

mehr als 3 Jahre vor | 1