Community Profile

photo

Ivy Chen


Active since 2017

Followers: 0   Following: 0

Statistics

  • Revival Level 1
  • Thankful Level 3

View badges

Feeds

View by

Question


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

6 years ago | 1 answer | 0

1

answer

Question


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

6 years ago | 1 answer | 0

1

answer

Question


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

6 years ago | 0 answers | 0

0

answers

Question


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

6 years ago | 1 answer | 0

1

answer

Question


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

6 years ago | 2 answers | 0

2

answers

Question


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

6 years ago | 0 answers | 0

0

answers

Question


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

6 years ago | 2 answers | 0

2

answers

Question


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

6 years ago | 1 answer | 0

1

answer

Question


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

6 years ago | 1 answer | 0

1

answer

Question


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

6 years ago | 1 answer | 0

1

answer

Question


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

6 years ago | 0 answers | 0

0

answers

Question


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

6 years ago | 0 answers | 0

0

answers

Question


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

6 years ago | 1 answer | 0

1

answer

Question


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

6 years ago | 1 answer | 0

1

answer

Question


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

6 years ago | 1 answer | 0

1

answer

Question


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

6 years ago | 0 answers | 0

0

answers

Question


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

6 years ago | 1 answer | 0

1

answer

Question


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

6 years ago | 1 answer | 0

1

answer

Question


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

6 years ago | 0 answers | 0

0

answers

Question


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

6 years ago | 1 answer | 0

1

answer

Question


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

6 years ago | 2 answers | 0

2

answers

Question


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

6 years ago | 2 answers | 0

2

answers

Question


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

6 years ago | 0 answers | 0

0

answers

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

6 years ago | 0

Question


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

6 years ago | 2 answers | 0

2

answers