Frage


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

mehr als 6 Jahre vor | 0 Antworten | 0

0

Antworten

Frage


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

fast 7 Jahre vor | 1 Antwort | 0

1

Antwort

Frage


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

fast 7 Jahre vor | 1 Antwort | 0

1

Antwort

Frage


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

fast 7 Jahre vor | 1 Antwort | 0

1

Antwort

Frage


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

fast 7 Jahre vor | 1 Antwort | 1

1

Antwort

Frage


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

fast 7 Jahre vor | 1 Antwort | 0

1

Antwort

Frage


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'];...

fast 7 Jahre vor | 0 Antworten | 0

0

Antworten

Frage


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

mehr als 7 Jahre vor | 1 Antwort | 0

1

Antwort

Frage


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

mehr als 7 Jahre vor | 0 Antworten | 0

0

Antworten

Frage


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

mehr als 7 Jahre vor | 1 Antwort | 1

1

Antwort

Frage


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

mehr als 7 Jahre vor | 1 Antwort | 0

1

Antwort

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

mehr als 7 Jahre vor | 0

Frage


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

mehr als 7 Jahre vor | 1 Antwort | 0

1

Antwort

Frage


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

mehr als 7 Jahre vor | 0 Antworten | 0

0

Antworten

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

mehr als 7 Jahre vor | 0

Frage


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

mehr als 7 Jahre vor | 2 Antworten | 0

2

Antworten

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

fast 8 Jahre vor | 1

Frage


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?

fast 8 Jahre vor | 1 Antwort | 0

1

Antwort

Frage


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

fast 8 Jahre vor | 1 Antwort | 0

1

Antwort

Frage


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

fast 8 Jahre vor | 1 Antwort | 0

1

Antwort

Frage


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

fast 8 Jahre vor | 1 Antwort | 0

1

Antwort

Frage


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

etwa 8 Jahre vor | 1 Antwort | 0

1

Antwort

Frage


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

etwa 8 Jahre vor | 1 Antwort | 0

1

Antwort

Frage


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

etwa 8 Jahre vor | 1 Antwort | 1

1

Antwort

Frage


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

etwa 8 Jahre vor | 1 Antwort | 0

1

Antwort

Frage


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

etwa 8 Jahre vor | 1 Antwort | 0

1

Antwort

Frage


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.

etwa 8 Jahre vor | 1 Antwort | 0

1

Antwort

Frage


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

etwa 8 Jahre vor | 1 Antwort | 0

1

Antwort

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

mehr als 8 Jahre vor | 0

| akzeptiert

Frage


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

mehr als 8 Jahre vor | 1 Antwort | 0

1

Antwort

Mehr laden