photo

Asher Zaidi


Aktiv seit 2018

Followers: 0   Following: 0

Statistik

  • Thankful Level 3

Abzeichen anzeigen

Feeds

Anzeigen nach

Frage


How to delete elements from a struct array?
I have a large struct array: >> statsDefects.Area ans = 25 ans = 23 ... How can I remove all numbers th...

mehr als 6 Jahre vor | 1 Antwort | 0

1

Antwort

Frage


How can I plot the diameters of an irregularly shaped region in an image?
This is my code: props = regionprops(BW, 'Area', 'Perimeter','Centroid','EquivDiameter'); allAreas = [props.Area]; allPer...

mehr als 6 Jahre vor | 2 Antworten | 0

2

Antworten

Frage


How can I extract and highlight the white portion of an image?
How can I extract the white portion of an image (see attached), or delete the black portion so that I have only the holes in the...

mehr als 6 Jahre vor | 1 Antwort | 0

1

Antwort

Frage


How to plot datetime array?
I would like to plot a vector, r, as a function of time. The two vectors I have are: r' 1.0e+03 * 0.0179 ...

mehr als 6 Jahre vor | 2 Antworten | 0

2

Antworten

Frage


How to convert datetime vector to military time
This is my code: files = dir('*.xlsx'); for i=1:10 [~, ~, raw] = xlsread(files(i).name); rawm = raw(5:6,1); ...

mehr als 6 Jahre vor | 1 Antwort | 0

1

Antwort

Frage


How to delete contents of matrix only if it has 2 elements?
If p = [55;56], and I want to set it to one value (ex. p = 55), how can I write an "if" statement that does this using elements?...

mehr als 6 Jahre vor | 1 Antwort | 0

1

Antwort

Frage


How can I add a different string to each element in a matrix?
I have a (soon to be) large vector and I want to add a string before each element, something like: "Data Trial 1 - (1st vecto...

mehr als 6 Jahre vor | 1 Antwort | 0

1

Antwort

Frage


How can I import multiple Excel files?
files = dir('*.xls'); for i=1:length(files) x = eval(['importdata(files(i).name)']); z1 = x.data(:,5); %grabs colum...

mehr als 6 Jahre vor | 0 Antworten | 0

0

Antworten

Frage


How to import data from multiple files into MATLAB?
I have multiple text files that I need to import into MATLAB so that I can analyze the data. Here is what I have so far: %% ...

mehr als 6 Jahre vor | 1 Antwort | 0

1

Antwort