提问


how to remove error "Reference to non-existent field "?
clc clear all clc clear all fileNames=string(1:40)'; trialss=["1","2","3"]; movess=["RShoulder","RElbow","RWrist"]; poin...

2 years 前 | 0 个回答 | 0

0

个回答

提问


how to remove the error "Dimensions of matrices being concatenated are not consistent."?
clc clear all for i6=1:length(nrotName) % infileName(i1)= snameExt,nfileName(i1),nmovName(i2),nrepName(i3),nfTime(i4),ndata...

2 years 前 | 1 个回答 | 0

1

个回答

提问


how to incorporate the dataset in the form of struct?
Error in incorporatingdataset (line 24) infileName = dataset.(nfileName(i1)).(nmovName(i2)).(nrepName(i3)).(nfTime(i4)).(nse...

2 years 前 | 1 个回答 | 0

1

个回答

提问


how to incorporating a dataset in the form of a struct into a function in a for loop
i havee written the following code and getting error fileName= {'Mert'}; nameExt= {'dataset.'}; snameExt= string(nameExt); ...

2 years 前 | 1 个回答 | 0

1

个回答

提问


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

2 years 前 | 1 个回答 | 0

1

个回答

提问


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

2 years 前 | 0 个回答 | 0

0

个回答

提问


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

2 years 前 | 0 个回答 | 0

0

个回答

提问


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

2 years 前 | 1 个回答 | 0

1

个回答

提问


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

2 years 前 | 0 个回答 | 0

0

个回答

提问


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

2 years 前 | 1 个回答 | 0

1

个回答

提问


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

3 years 前 | 2 个回答 | 0

2

个回答

提问


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

3 years 前 | 1 个回答 | 0

1

个回答

提问


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

3 years 前 | 1 个回答 | 0

1

个回答

提问


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

3 years 前 | 1 个回答 | 0

1

个回答

提问


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

3 years 前 | 1 个回答 | 0

1

个回答

提问


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

3 years 前 | 1 个回答 | 0

1

个回答

提问


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

3 years 前 | 2 个回答 | 0

2

个回答

提问


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

3 years 前 | 2 个回答 | 0

2

个回答

提问


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

3 years 前 | 1 个回答 | 0

1

个回答

提问


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

3 years 前 | 1 个回答 | 0

1

个回答

提问


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

3 years 前 | 1 个回答 | 0

1

个回答

提问


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

3 years 前 | 1 个回答 | 0

1

个回答

提问


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

3 years 前 | 1 个回答 | 0

1

个回答

提问


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

3 years 前 | 1 个回答 | 0

1

个回答

提问


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

3 years 前 | 1 个回答 | 0

1

个回答

提问


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

3 years 前 | 1 个回答 | 0

1

个回答

提问


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

3 years 前 | 1 个回答 | 1

1

个回答

提问


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

3 years 前 | 1 个回答 | 0

1

个回答

提问


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

3 years 前 | 1 个回答 | 0

1

个回答

提问


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

3 years 前 | 0 个回答 | 0

0

个回答