Question

How to use Matlab compiler to compile a program when it interacts with multiple folders?

I have a large Matlab program that interacts with several folders in my working directory. I plan to use Matlab compiler to comp...

19 dagen ago | 0 answers | 0

Question

How to get the value of Radio buttons from App Designer

Here is my radio button: app.ButtonGroup app.A_button app.B_button What I want to do is this: Button A should be the defaul...

27 dagen ago | 1 answer | 0

Question

How to make a column plot like this one?

Anyone knows how to make a column plot like the one in the attachment? Many thanks!

ongeveer een maand ago | 1 answer | 0

Question

Please help me choose the best hardware for my Matlab processing

I have around 50 million rows of data to process. The number will be increasing into the future. I want to invest around $10K on...

ongeveer een maand ago | 0 answers | 0

Question

Why does Matlab require a Parallel computing toolbox in order to use more CPU cores?

Is it true that if I have a multi-core CPU computer and Matlab will only use one of the CPU cores, unless I leverage the paralle...

ongeveer een maand ago | 1 answer | 0

Question

How to extract the numerial values out of readtable output?

Good afternoon! My apologies for the many questions related to readtable. Attached is my data file. I use the below command to ...

ongeveer 2 maanden ago | 1 answer | 0

Question

Table values that is a scalar string

I use readtable to input an Excel file into Matlab. T1 = readtable('AA.xlsx'); Now I know T1(3,48) = '32WC20110812', but I ...

ongeveer 2 maanden ago | 2 answers | 0

Answered

xlsread error: Array indices must be positive integers or logical values.

Thanks all for the replies. I'm using Excel Version 16.25 on MacOS 10.14.5

xlsread error: Array indices must be positive integers or logical values.

Thanks all for the replies. I'm using Excel Version 16.25 on MacOS 10.14.5

ongeveer 2 maanden ago | 0

Question

xlsread error: Array indices must be positive integers or logical values.

When I try to use xlsread to read the attached Excel file: [A B C] = xlsread('AA.xlsx'); Why do I keep getting this error? It ...

ongeveer 2 maanden ago | 2 answers | 0

Answered

How to determine if a string can be converted to a numerical value?

Old thread, but the function 'isfloat" will do the trick.

How to determine if a string can be converted to a numerical value?

Old thread, but the function 'isfloat" will do the trick.

ongeveer 2 maanden ago | 0

Question

How to arrange app-designer interface so that I can zoom it in and out?

Below is how I set up the mainwindows size and then the size of each figures. The issues is that if I'm switching to a larger mo...

ongeveer 2 maanden ago | 0 answers | 0

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

ongeveer 2 maanden ago | 0 answers | 0

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

3 maanden ago | 1 answer | 0

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

3 maanden ago | 1 answer | 0

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

3 maanden ago | 1 answer | 0

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

4 maanden ago | 1 answer | 0

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

4 maanden ago | 1 answer | 0

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

4 maanden ago | 0 answers | 0

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

10 maanden ago | 1 answer | 0

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

10 maanden ago | 0 answers | 0

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

10 maanden ago | 1 answer | 0

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

11 maanden ago | 1 answer | 0

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!

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!

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

11 maanden ago | 1 answer | 0

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

ongeveer een jaar ago | 0 answers | 0

Answered

how to specify points outside a polygon?

Many thanks for the help!

how to specify points outside a polygon?

Many thanks for the help!

ongeveer een jaar 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...

ongeveer een jaar ago | 2 answers | 0

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

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

meer dan een jaar 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?

meer dan een jaar ago | 1 answer | 0

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

meer dan een jaar ago | 1 answer | 0