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

1 giorno ago | 0 answers | 0

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. Where will the folders be if I use Ma...

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

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

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

11 giorni 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

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

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

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

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

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

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

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

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

2 mesi ago | 0 answers | 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...

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

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

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

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

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

10 mesi 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!

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

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

12 mesi ago | 0 answers | 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...

circa un anno 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...

circa un anno 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?

oltre un anno 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...

oltre un anno ago | 1 answer | 0

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

oltre un anno ago | 1 answer | 0

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

oltre un anno ago | 1 answer | 0