Question


how to replicate the array?
i have an array a = 1 2 3 4 5 6 7 8 9 now i want a= 1 1 2 3 3 1 1 2 3 3 4 4 5 6...

mer än ett år ago | 1 answer | 0

1

answer

Question


how to built mean filter without padding ?
i want this mean filter without padding and padding by replication .here in my code i have done padding with 1 a = input('Plea...

mer än ett år ago | 0 answers | 0

0

answers

Question


built the fuction from scratch
a = input('Please input the matrix like "[1, 2; 3, 4]":'); % mf= ones(3,3) % meanA = mean(A(:)) a1= padarray(a,[1 1],1) [m n...

mer än ett år ago | 0 answers | 0

0

answers

Question


how to pad the matrix with ones?
i want to padded the input matixe of any row and colum with one for eaxmple if i take input matrix A A = 1 2 3 4 ...

mer än ett år ago | 1 answer | 0

1

answer

Question


how to make mean filter ?
i want to make a mean filter of 3x3 and it takes any row column matrixes and perform mean filter in my task i can not use bulti...

mer än ett år ago | 0 answers | 0

0

answers

Question


input the matrix from user
i want to find out the mean of the matrix but the matix should be given by users in command window y= input(a); % mean(mean(...

mer än ett år ago | 1 answer | 0

1

answer

Question


i wanna to plot the eulars formula on matlab with 3d plot
t = -1:1:1; eulars formual x= cos(wt)+jsin(wt); we shoul have 3d plot like this sig=2; x = cos(sig*t) + sin(sig*t)*i; z...

mer än ett år ago | 2 answers | 0

2

answers

Question


how to common string data in two string celland their indexes
i have two cells population 235*1 cell names 332*1 cell both have string data i want an other cell which have the common d...

mer än ett år ago | 1 answer | 0

1

answer

Question


sorting an string cell
i have cell whoes 1st column has names of countries and 2nd have population i want to arrage it alphabetical oder in such a...

mer än ett år ago | 1 answer | 0

1

answer

Question


scatter plotting of string data
i have two cell in work sapce name 57*1 cell fatality_rate 57*1 cell here names include string data i want scatter plotti...

mer än ett år ago | 1 answer | 0

1

answer

Question


vectors are not same for ploting
ind=strcmpi(names,'United States'); cases=covid_cases(ind,:) deaths=covid_deaths(ind,:) daily_cases=dailycases(ind,:) fatali...

mer än ett år ago | 1 answer | 0

1

answer

Question


how to plot first five numbers of data
my workspace named=names(:,1) covvid=covid_cases(:,end) [a,ind]=sort(covvid,'descend'); allindexes=length(a):1 ba...

mer än ett år ago | 1 answer | 0

1

answer

Question


delelte certain string data from cell
i want to delete Australia from this data using code name= names (~any(cellfun('Australia',names),1:) but i gives error so ...

mer än ett år ago | 2 answers | 0

2

answers

Question


how to find index of the double
i want to find the indese of the following data what should be the code for this

mer än ett år ago | 2 answers | 0

2

answers

Question


how to plot string data on x axes
my workspace cases 333*1 double names 333*1 cell names includes countries name cases includes covid cases i want to plot n...

mer än ett år ago | 1 answer | 0

1

answer

Question


to delete some rows frm cell
this is a cell 'names ' in the workspace i want to delete all the row whose having string data in 2 column i am doing this ...

mer än ett år ago | 1 answer | 0

1

answer

Question


how to title of subplot
function untitled(country1,state1,country2,state2,names,days,avg_days,dailycases) if isempty(state1) && isempty(state2) Index1...

mer än ett år ago | 1 answer | 0

1

answer

Question


string inputs and if else statement
function untitled(country1,state1,country2,state2,names,days,avg_days,dailycases) if state1= isempty and state2 = isempyty Ind...

mer än ett år ago | 1 answer | 0

1

answer

Question


displaying 2 graphs in singe run
function compare_cases(country1,country2,names,days,avg_days,dailycases) Index1 = strcmpi(names,country1); % [row,col] = find...

mer än ett år ago | 1 answer | 0

1

answer

Question


instead of cellfun what should we us
function compare_cases(country1,names,days,avg_days,dailycases) IndexC = strcmpi(names,country1); [row,col] = find(not(cellfu...

mer än ett år ago | 1 answer | 0

1

answer

Question


string data in function
i have following functioin function data(a,b,c) display(a); display(b+c); % here 'a' should be string and rest will be the n...

mer än ett år ago | 1 answer | 0

1

answer

Question


input string data in the function
function compare_cases(country1,names,days,avg_days,dailycases) IndexC = strfind(names,'country1'); [row,col] = find(not(cell...

mer än ett år ago | 1 answer | 0

1

answer

Question


conversion double to array
i have data in double format and i want that data in array format inder 34*1 double it should be in this format inder {......

mer än ett år ago | 1 answer | 1

1

answer

Question


comparison the data and ploting it
i have these arrays in work space names 332*2 cell daily_cases 332*430 double note : names include countries names in first...

mer än ett år ago | 1 answer | 0

1

answer

Question


covid data in matlab
i have done the first task but unable to do all other task becuse i donot understand how to find the avg_day and how to subtract...

mer än ett år ago | 1 answer | 0

1

answer

Question


want the avg_days of days(datetime format )using movmean
t1 = datetime(2020,01,22) t2 = datetime(2021,03,26) days=t1:caldays(1):t2 through this code i made the datetime of size 1*430...

mer än ett år ago | 0 answers | 0

0

answers