Question


how to turn off this display in the command window?
I'm using the app-designer of Matlab to create an app. The below display keeps showing up on my command windows, slowing down my...

6 years ago | 0 answers | 0

0

answers

Question


How do I specify the cell array to indicate strings in double quotation?
I have an array of strings (pulled from Excel column headers). For example, A{1,1} = 'Station Number' A{1,2} = 'Depth' etc...

6 years ago | 1 answer | 0

1

answer

Question


How to get the numbers that do not overlap with another matrix?
Imagine, I have a matrix A = [1, 2, 5, 7, 9]; and B = [1,3,5]; How do I find all numbers in Matraix A that do not already overl...

6 years ago | 1 answer | 0

1

answer

Question


How to find the location of the first string matching my searching criteria?
My goal is to find the column number of the variables stored in my Excel file. Below is my code. Now B stores the column headers...

6 years ago | 1 answer | 0

1

answer

Question


Setpath error: the path file pathdef.m might be read only
I need some external functions to run my program. They are saved in a different folder. The problem I'm having is that I can not...

6 years ago | 1 answer | 1

1

answer

Question


How to combine string and numbers before using xlswrite to export data into an Excel file?
I have like to write the below information into one Excel spreadsheet: Cruise # Longitude Latitude Year Month Day S...

7 years ago | 1 answer | 0

1

answer

Question


How to clear the contents of an app designer text area?
Below is my code: % --- create a file to store the QC comments --- File1 = ['comments/QCcomments_' app.FileName.Value '.txt'];...

7 years ago | 0 answers | 0

0

answers

Question


How to streamline this code to average certain rows?
I have a three row column data: lon lat and Z. What I want to do is to round longitude and latitude to 2 digits. For example, 65...

7 years ago | 1 answer | 0

1

answer

Question


Parallel computing out of memory
I just started my trial of Parallel Computing Toolbox, unfortunately, with little success. Now I can see that my program is util...

7 years ago | 0 answers | 0

0

answers

Question


How to make Matlab faster
I'm running a program that takes several days to finish, but it only consumes 30% of my computer CPU and less than 30% of my RAM...

7 years ago | 1 answer | 1

1

answer

Question


Need help on Matlab memory error
Below is the error I got while using divagrid on Matlab. Anyone has a solution? How do I expand the available space? My computer...

7 years ago | 1 answer | 0

1

answer

Answered
How can I run MATLAB in batch mode on my Mac when I log in remotely so that the process runs when I am logged out?
The command seems to be truncated. Anyone has the full command? Thanks!

7 years ago | 0

Question


How to show the progress of a program without using disp()?
Recently, I've been running several large programs that would take many days to finish. It's very important for me to know the p...

7 years ago | 1 answer | 0

1

answer

Question


How to convert gif to movie?
I just created my first gif animation for my ppt presentation. The problem is that it does not have a "play" or "pause" button. ...

7 years ago | 0 answers | 0

0

answers

Answered
how to specify points outside a polygon?
Many thanks for the help!

7 years ago | 0

Question


how to specify points outside a polygon?
For example, in the below code, I can specify the points inside the polygon. How about outside the polygon? How do I specify t...

7 years ago | 2 answers | 0

2

answers

Answered
How to plot a geographical map from 0 to 360 degree of longitude
If you have the longitude and latitude values, all you need to do is to go through the longitude and convert it to a 20-380 syst...

7 years ago | 1

Question


How to set all elements of a matrix that meet a certain criteria to NaN?
I have a Matrix A with the size of [200 100 20 60]. How do I set all elements larger than 10^20 as NaN?

8 years ago | 1 answer | 0

1

answer

Question


How to calculate the mean values in this case?
I have two matrices: both of them have sizes of 200x100x50. The third elements (50) are time. In Matrix One, the time starts fro...

8 years ago | 1 answer | 0

1

answer

Question


How to quickly find the position of a value in a sorted column data?
I have a list of ascendingly sorted data A = [-80, -79.6, -79.2, -77, 65,... 45]. If there is a value B, how do I quickly find t...

8 years ago | 1 answer | 0

1

answer

Question


How to draw a smaller boundary?
I have a two column data of Te2000 and Ar2000. I can plot the points and their boundary without any issue like this: plot...

8 years ago | 1 answer | 0

1

answer

Question


How to force a number to be displayed as a string?
I have a list of numbers (6 digits) in the Excel. I read them as strings. [~, ~, A] = xlsread('filename.xlsx'); The issu...

8 years ago | 1 answer | 0

1

answer

Question


Combining multiple Excel spreadsheets into one (strings + numerical values)
I have a total of around 100 Excel files. Each of them contain the same types of information in the same column order. For examp...

8 years ago | 1 answer | 0

1

answer

Question


How to write percentage sign into a txt file
I'm trying to generate an html file using fprintf. The issue is that % is causing lots of issues, because it is used by the syst...

8 years ago | 1 answer | 1

1

answer

Question


How to convert CP1252 to UTF-8 inside Matlab
I'm pulling some text information from Excel spreadsheets into Matlab. Some of the special characters are encoded as CP1252. ...

8 years ago | 1 answer | 0

1

answer

Question


How to set ytick in yyaxis?
Below is my code. How do I set the ytick on yyaxis left? yyaxis left plot(T, PH, 'bo', 'markersize', 3); % ytick([7.7...

8 years ago | 1 answer | 0

1

answer

Question


How to specify dotted line for histfit?
The default fitted line in histfit is a continuous line. How do I replace it with a dotted line? Thanks.

8 years ago | 1 answer | 0

1

answer

Question


How to remove duplicate groups of rows
I have a matrix with the size of 20000 x 30. I'm trying to identify groups of rows that are similar (but not identical) to each ...

8 years ago | 1 answer | 0

1

answer

Answered
How to get the attribute out of an XML file
Figured it out myself. xDOC = xml2struct('data/abc.xml'); A = xDOC.datatypes.datatype; ...

8 years ago | 0

| accepted

Question


How to get the attribute out of an XML file
I have an XML like the below. I am able to use xml2struct (in the file exchange) to read the file. My question is how do I read ...

8 years ago | 1 answer | 0

1

answer

Load more