Community Profile # MP

Last seen: 6 months ago Active since 2021

#### Statistics

• #### Content Feed

View by

Question

why fread showing too many output arguments?
I have a function which reads a binary file and extracts the data. I already have entire code. I am trying to run it, but it sho...

6 months ago | 1 answer | 0

### 1

Question

How to make a Subplots using set(gca,'position') command?
I would like to make one figure, with two subplots. The dimensions for each subplot set(gca,'Position', [0.1...

7 months ago | 1 answer | 0

### 1

Question

How to obtain a cutsomized colorbar at certain color value range?
Hi, I would like to obtain a customizd colorbar that has a range from 0-24. I would like to paint black color for the points f...

7 months ago | 2 answers | 0

### 2

How to run and save variables in a structures?
Thank you so much @KSSV and @Les Beckham

11 months ago | 0

Question

How to run and save variables in a structures?
I would like to run a matlab code using: run('filename.m'); % it contains numerous variables in it. I would like to save all t...

11 months ago | 2 answers | 0

### 2

Question

How to obtain mean of columns in multiple cells?
I have a cell (say "a") and it has 5X1 dimension , Class: Cell. (Shown in picture below) Each cell contains different cells, ha...

12 months ago | 1 answer | 0

### 1

Question

how to make figure perfectly squared?
I would like to make a perfect squared figure. When I use axis equal I still find that y-axis is stretched more than x-axis and ...

1 year ago | 1 answer | 0

### 1

Question

How to make a line plot with Jet colored lines?
Hi everyone! I would like to make a line plot of the attached data. There are about 64 different lines in the single plot. So,...

1 year ago | 1 answer | 0

### 1

Question

how to use sprintf for xticklabel?
how to print a = 0.1005:0.1:1.1005 as, 0.1, 0.2, 0.3, ... 1.0 for tickllabes? I used sprintf command but the optput is not ...

1 year ago | 1 answer | 0

### 1

Question

how to make a pcolor plot for a bands of y-scale in matlab?
Hi, I would like to make a pcolor plot of X (35x1 double), Y (1440x1 double) and Z (1440x34 double). the x-value is actually a...

1 year ago | 0 answers | 0

### 0

Question

how to import csv file containing text and empty rows as a header along with numerical data in matlab?
I am using MATLAB R2021a. I want to import a csv file with 1-7 as text header lines. But, when I import it using readtable comm...

1 year ago | 0 answers | 0

### 0

Question

how to import csv file with along with its headers in the matlab?
How to import a csv file like this (attached here) along with its header names? When I import this file using: cas_data_ph =...

1 year ago | 2 answers | 0

### 2

Question

What is LBL file format and is it possible to open it in MATLAB?
What is LBL file format and is it possible to open it in MATLAB? I have a LBL file (attached here), it contains the heading or ...

1 year ago | 1 answer | 0

### 1

How to find X and Y coordinates of maximum gap between curves?
@Karim: "It depends on what you mean with the gap, notice that you plot it on a logarithmic axis. As a result from a graphical p...

1 year ago | 0

Question

How to find X and Y coordinates of maximum gap between curves?
Please see the attached figure. In this figure, I want to find the values of X and Y coordinates where the two curve has maximum...

1 year ago | 2 answers | 0

### 2

Question

how to write numbers with 10^ format in matlab?
How to print 123456 as 1.2x10^5 in a matlab figure? str5 = ['CC = ' num2str(123456) ]; str = sprintf('%s',str5); annotation('...

1 year ago | 1 answer | 0

### 1

how to find a number in cell and make it NaN?
Thank you so much to everyone for their valuable time and efforts. It saved a lot time of mine!

1 year ago | 0

Question

how to find a number in cell and make it NaN?
I have a cell matrix with size 1165x1 cell. In each cell there is one value i.e. number 31 that needs to be found and made NaN. ...

1 year ago | 3 answers | 0

### 3

Question

How to ask matlab to find mean only if there are less than 3 NaN values?
How to ask matlab to find mean only if there are less than 2 NaN values in a given column, otherwise it should be NaN? For Exam...

1 year ago | 1 answer | 0

### 1

Question

How to automatically detect the patterns in the plot?
Is it possible to make a matlab code that can automatically detect the patterns in the plot? In the plot attached below, we can...

1 year ago | 1 answer | 0

### 1

Question

How to use string with different sizes as a text in figure?
I have three Char matrix say, S1 (1x112), S2 (1x26) and S3 (1x36), all three are different sizes. I would like to put S1, S2 an...

1 year ago | 1 answer | 0

### 1

Question

How to make a number NaN when its both neighbours are NaN?
I would like to find the numbers sandwiched between two NaN's and make them NaN. I have a matrix: A = [NaN 2.35 NaN 2.358 1.68...

1 year ago | 1 answer | 0

### 1

Question

Why does keyboard shortcuts like ctrl+A, ctrl+c, ctrl+v, ctrl+f etc. does not work on MATLAB (on Linux platform)?
Why does keyboard shortcuts like ctrl+A, ctrl+c, ctrl+v, ctrl+f etc. does not work on MATLAB (on Linux platform)? I would like ...

1 year ago | 1 answer | 0

### 1

Question

How to save and append variable into a matlab file?
I would like to save variable "i" in a mat file "paxt.mat". This is to be saved in the current directory. The varaible "i" vari...

1 year ago | 1 answer | 0

### 1

Question

How to save all the existing variables in the workspace?
I have about 30-40 variables. I need to save them all. Its difficult to type each varaible and save it? How to save all the exi...

1 year ago | 1 answer | 0

### 1

how to identify empty , non-empty char matrix condition?

1 year ago | 0

Question

How to find the nearest matrix between two matrices?
Find the nearest row matching between matrix. I have a matrix A = [2013 03 17 1 6 0]; % 1x6 double I have another matrix B...

1 year ago | 2 answers | 0

### 2

Question

how to identify empty , non-empty char matrix condition?
I have a matrix "A" with size 4x8 char and having values: '01:04:00' '01:03:00' ' ' '01:01:00' I want to identify th...

1 year ago | 2 answers | 0

### 2

how to convert hours to 'yyyy-MM-dd hh:mm:ss' format?
Yes, that did a great help.... :) Thank you so much @Stephen23

1 year ago | 0

Question

how to convert hours to 'yyyy-MM-dd hh:mm:ss' format?
I have time in hours from 0-72 hours (i.e. 0, 1, 2, 3,..., 72). i.e. a = 0:72; I would like to convert this hours into datestr ...

1 year ago | 2 answers | 0