Community Profile

photo

MP


Last seen: 12 Monate vor Aktiv seit 2021

Statistiken

  • Thankful Level 4

Abzeichen anzeigen

Content Feed

Anzeigen nach

Frage


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

12 Monate vor | 1 Antwort | 0

1

Antwort

Frage


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

etwa ein Jahr vor | 1 Antwort | 0

1

Antwort

Frage


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

etwa ein Jahr vor | 2 Antworten | 0

2

Antworten

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

mehr als ein Jahr vor | 0

Frage


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

mehr als ein Jahr vor | 2 Antworten | 0

2

Antworten

Frage


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

mehr als ein Jahr vor | 1 Antwort | 0

1

Antwort

Frage


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

mehr als ein Jahr vor | 1 Antwort | 0

1

Antwort

Frage


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

mehr als ein Jahr vor | 1 Antwort | 0

1

Antwort

Frage


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

mehr als ein Jahr vor | 1 Antwort | 0

1

Antwort

Frage


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

mehr als ein Jahr vor | 0 Antworten | 0

0

Antworten

Frage


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

mehr als ein Jahr vor | 0 Antworten | 0

0

Antworten

Frage


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

mehr als ein Jahr vor | 2 Antworten | 0

2

Antworten

Frage


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

mehr als ein Jahr vor | 1 Antwort | 0

1

Antwort

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

mehr als ein Jahr vor | 0

Frage


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

mehr als ein Jahr vor | 2 Antworten | 0

2

Antworten

Frage


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

mehr als ein Jahr vor | 1 Antwort | 0

1

Antwort

Beantwortet
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!

mehr als ein Jahr vor | 0

Frage


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

mehr als ein Jahr vor | 3 Antworten | 0

3

Antworten

Frage


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

mehr als ein Jahr vor | 1 Antwort | 0

1

Antwort

Frage


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

mehr als ein Jahr vor | 1 Antwort | 0

1

Antwort

Frage


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

mehr als ein Jahr vor | 1 Antwort | 0

1

Antwort

Frage


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

mehr als ein Jahr vor | 1 Antwort | 0

1

Antwort

Frage


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

mehr als ein Jahr vor | 1 Antwort | 1

1

Antwort

Frage


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

mehr als ein Jahr vor | 1 Antwort | 0

1

Antwort

Frage


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

mehr als ein Jahr vor | 1 Antwort | 0

1

Antwort

Beantwortet
how to identify empty , non-empty char matrix condition?
@Stephen23: Could you please also look into my another question? https://in.mathworks.com/matlabcentral/answers/1762535-how-to-...

mehr als ein Jahr vor | 0

Frage


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

mehr als ein Jahr vor | 2 Antworten | 0

2

Antworten

Frage


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

mehr als ein Jahr vor | 2 Antworten | 0

2

Antworten

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

mehr als ein Jahr vor | 0

Frage


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

mehr als ein Jahr vor | 2 Antworten | 0

2

Antworten

Mehr laden