Community Profile

photo

Ivy Chen


Aktiv seit 2017

Statistiken

  • Revival Level 1
  • Thankful Level 3

Abzeichen anzeigen

Content Feed

Anzeigen nach

Frage


How do I save an matrix with a string name and save it?
I need to load in some .csv files and save both data matrix and the .mat file using the modified string. Following is my code, ...

mehr als 5 Jahre vor | 1 Antwort | 0

1

Antwort

Frage


How do I shift index and keep it as logical?
I have a index Status as logical and I want to shift it to one row up and one row down as different index array to use for compa...

mehr als 5 Jahre vor | 1 Antwort | 0

1

Antwort

Frage


Find records to transition from state A to State B and remain on State B for 5 seconds
I have a table T with several columns A1, A2, A3, A4, A5, etc. Records in table T is roughly 30 minutes time-bounded scenario (...

mehr als 5 Jahre vor | 0 Antworten | 0

0

Antworten

Frage


Write output list from a loop
I have two .mat files (A & B). Once find a first occurrence of the defined index. I want to write them out to a array or table...

mehr als 5 Jahre vor | 1 Antwort | 0

1

Antwort

Frage


Replace NaN in table with a corresponding value in a different column
I have a table A with several columns (A1, A2, A3, A4... A33). I want to check Nan values in column A5, then replace them with ...

mehr als 5 Jahre vor | 2 Antworten | 0

2

Antworten

Frage


Plot does not have axes properties set correctly, nor saved correctly.
I have a plot need to apply for axes and save to a different size. When I use the following script, it does not save the empty ...

mehr als 5 Jahre vor | 0 Antworten | 0

0

Antworten

Frage


Find index for mx1 cell with specific string
I have a mx1 cell in A table as Scenario column. I want to find the index matching the string 'Scenario #' using following: ...

mehr als 5 Jahre vor | 2 Antworten | 0

2

Antworten

Frage


How to make a plot with different colors to represent different data values/thresholds?
I need to generate a plot have a couple of elements below: ▪ Small dots when State 5 = green, State 3 = yellow ▪ Big circles w...

fast 6 Jahre vor | 1 Antwort | 0

1

Antwort

Frage


Find and convert negative number strings
I need to find a negative number between terms A and B in a string. The following code find the 1x5 char '-20', but not as numb...

etwa 6 Jahre vor | 1 Antwort | 0

1

Antwort

Frage


Read a defined size block and skip a set size bytes in binary file
I am trying to read a defined size block (A) and skip 8 bytes repeatedly close to the end of a binary file. Also want to skip a...

etwa 6 Jahre vor | 1 Antwort | 0

1

Antwort

Frage


How to compare IQ data in two .mat files
I have two .mat files, and they both have huge amount of data. I now have them in the tall array format and try to use the File...

etwa 6 Jahre vor | 0 Antworten | 0

0

Antworten

Frage


How to process a large binary file with set skipping patterns
We need to process very large binary files (500 GB) to plot. However the file reading and skipping known patterns seems to take...

etwa 6 Jahre vor | 0 Antworten | 0

0

Antworten

Frage


How to convert a .PNG file to a different size
I have existing .PNG file as an output from following: %Plot I: X=datenum(tvec_SDstart); Y=Carr_Fvec/1e6; Z=magSpectrumMa...

etwa 6 Jahre vor | 1 Antwort | 0

1

Antwort

Frage


Plot multiple lines from a matrix
I have a 14X897 matrix and I would like to plot 14 lines with individual label (each has the 897 values in Y axis) against the s...

mehr als 6 Jahre vor | 1 Antwort | 0

1

Antwort

Frage


Multiply mx1 matrix to mxn matrix
I have two matrices A and B, A is 4000x1 and B is 4000*5662. How do multiply each row in A (only 1 column) to corresponding row...

mehr als 6 Jahre vor | 1 Antwort | 0

1

Antwort

Frage


How to handle a huge amount of data with surface and stair plots to avoid memory spikes
When we try to handle very large amount of the data with batched bins (500) and averages (50) and stored in the matrices. It st...

mehr als 6 Jahre vor | 0 Antworten | 0

0

Antworten

Frage


How to customize print file name with function input
I have a function including following input items: Filepath, NsperBatch, K. And I would like to use them as part of filename wh...

mehr als 6 Jahre vor | 1 Antwort | 0

1

Antwort

Frage


Remove specific data sequence when reading .bin file
How do I remove/skip the specific data sequence [1024 0 2240 -24500] when reading the .bin file in batch? thanks! filename...

mehr als 6 Jahre vor | 1 Antwort | 0

1

Antwort

Frage


How to read data file in batch until end of file and write results in an array
I need to read a large bin file in batches. Assuming the batch size is 5000 and will take an average over K (100 in this case) ...

mehr als 6 Jahre vor | 0 Antworten | 0

0

Antworten

Frage


Matrix dimensions must agree error
Here is the code, and I suspect that the last batch of data is caused by last chunk remaining data. However, I am not sure how ...

mehr als 6 Jahre vor | 1 Antwort | 0

1

Antwort

Frage


Read multiple txt files and remove 2nd line with all dashes and output back to files to append _output in the filenames
I have multiple *.txt files to read and want to remove the 2nd line with all dashes in all files. Then each of them should be s...

mehr als 6 Jahre vor | 2 Antworten | 0

2

Antworten

Frage


Load date/time data and being recognized for further time related subtraction/addtions
I have a text data file, which includes timestamp like 20150727084239.533 which represent 2015-07-27 08:42:39.533. And I have ...

mehr als 6 Jahre vor | 2 Antworten | 0

2

Antworten

Frage


How can I simplify codes to combine multiple plots in one
I have 5 data files. Each of them include different timestamps, corresponding frequency range needs to distribute 4000 data poi...

mehr als 6 Jahre vor | 0 Antworten | 0

0

Antworten

Beantwortet
Load multiple files, but it only returns the data in last file
Got it, Really appreciate your help on this!

mehr als 6 Jahre vor | 0

Frage


Load multiple files, but it only returns the data in last file
I have code to load a data array for a single file. Now I need to modify the code to load several file in a same format. In th...

mehr als 6 Jahre vor | 2 Antworten | 0

2

Antworten