Question

Automatically restart Matlab after Microsoft forces restart

Good morning and happy new year everyone. I've just got back from a three week break over Christmas. I left a simulation runn...

4 years ago | 3 answers | 1

Question

I'm using datastore, but is it a correct implementation?

Morning all, I have two csv textfiles, each of which are over 1GB in size and contain millions of rows of data. I would li...

4 years ago | 0 answers | 0

Question

Filter data from text file whilst importing

Hi, I have a large csv file, around 1.5 million rows, that I would like to filter whilst importing. I'm not sure I have enough m...

4 years ago | 1 answer | 0

Question

Neural Networks - Break down of training, testing and validation groups

Good morning, I am trying to run a NN, for a regression type problem, with a different number of neurons each time. Then I ha...

4 years ago | 2 answers | 1

Question

Windows updates...Grrr!!!

Does Windows not see Matlab when checking to see if it can do an auto-restart to install updates? I read somewhere that Windows ...

4 years ago | 1 answer | 1

Question

Optimise code and identify bottlenecks - hints and tips

Morning all, I have just got a brand spanking new computer that is supposed to kick my old one in the butt for speed. It does...

4 years ago | 1 answer | 0

Question

Neural Networks - Can I constrain the range of the output of the network?

Hi all, I am currently running a NN using fitnet. It's a function fitting - regression - type problem that I'm trying to trai...

4 years ago | 2 answers | 0

Question

Replacing unassigned values in a vector with nans instead of zeros

Morning everyone, I'm resizing vectors in a loop. Not good I know and probably why it takes 30 minutes to run, but beside fro...

4 years ago | 2 answers | 0

Answered

Need help with summation in a while loop. i believe my argument inside of while is wrong, but i'm not sure how to fix. Assignment is to Write a while loop that assigns summedValue with the sum of all values from 1 to userNum.(assume userNum>=1).

You don't need your variable x. k starts at one and increases by one with each iteration, so achieves the same thing as you are...

Need help with summation in a while loop. i believe my argument inside of while is wrong, but i'm not sure how to fix. Assignment is to Write a while loop that assigns summedValue with the sum of all values from 1 to userNum.(assume userNum>=1).

You don't need your variable x. k starts at one and increases by one with each iteration, so achieves the same thing as you are...

4 years ago | 0

| accepted

Question

Does Matlab support control versioning?

I'm under the impression, I think I read it somewhere, that Matlab supports the use of Git. By which I mean that I understand th...

4 years ago | 1 answer | 0

Question

Can anyone simplify this code please?

Morning all, I have a problem. I'm trying to take a subset of a matrix, but not a uniform distribution. The difference betwee...

4 years ago | 1 answer | 0

Question

Selecting unique pairs from a vector

Afternoon all, Suppose I have a vector imax = [1;2;3;4;5;6]; I would like to find every set of pairs available in tha...

4 years ago | 1 answer | 0

Answered

Cross-sectional area of a cone(ish)

Thanks, I've managed to get it working in most cases. Except where the noise gets horrendous. Many thanks for your time

Cross-sectional area of a cone(ish)

Thanks, I've managed to get it working in most cases. Except where the noise gets horrendous. Many thanks for your time

4 years ago | 0

Question

Cross-sectional area of a cone(ish)

Morning all, I have a surface that looks something like a lopsided squished cone, hollow in the middle. <</matlabcentra...

4 years ago | 3 answers | 0

Question

Can Matlab determine the number of monitors?

I am running Matlab from two different computers, one is connected to two monitors and the other to one. I have set Matlab to...

4 years ago | 1 answer | 1

Question

readtable - renaming variables after creating

Hi, I'm using readtable to read in and create a table of data in a text file. The way the text file is written there is no ro...

4 years ago | 1 answer | 0

Answered

My files are a mess, please help

Thanks for your suggestions, I have downloaded GIT and will hopefully figure out what it does in due course. I like the idea ...

My files are a mess, please help

Thanks for your suggestions, I have downloaded GIT and will hopefully figure out what it does in due course. I like the idea ...

4 years ago | 0

Question

Please can you give me some regular expression help

Hi, I'm trying to extract a number from a string. The string is of the form H970D80Dia4W19L19WT856 and I want to extract the ...

4 years ago | 2 answers | 0

Question

My files are a mess, please help

I've been in my job 3 months and already seem to have an unmanageable number of m-files (both functions and scripts). I'm lookin...

4 years ago | 3 answers | 0

Question

Efficient code - Get rid of my loop

Hi, I'm reading in some data from a csv file, which for some reason is being read in as strings rather than doubles. Now I ne...

4 years ago | 2 answers | 0

Question

Curious about the speed of readtable

Hi, I'm wondering why readtable takes so long to parse when you specify a worksheet and a range. Does anyone know? I have a c...

4 years ago | 0 answers | 0

Question

Neural networks are giving me a headache!

Firstly, I'm trying to persevere without really understanding their operation. But I'm using them with some success for my probl...

5 years ago | 1 answer | 0

Question

Multivariate Nonlinear Least Squares

Morning everyone, I've tried talking to MathWorks and playing with the tools in the curve fitting toolbox, but I can't seem t...

5 years ago | 1 answer | 0

Answered

hello,I am trying to save a data string and use it later in the program.IS it possible? Any kind of hint would be appreciated. Thaks in advance

Store a copy of v as oldv before you start your analysis, Now you can compare v at the end of you analysis with oldv using somet...

hello,I am trying to save a data string and use it later in the program.IS it possible? Any kind of hint would be appreciated. Thaks in advance

Store a copy of v as oldv before you start your analysis, Now you can compare v at the end of you analysis with oldv using somet...

5 years ago | 0

| accepted

Question

Extracting features from curves

I would like to be able to identify and features that occur in a curve. A typical feature can be seen in the attached image. The...

5 years ago | 1 answer | 0

Question

Which technique or toolbox for recognizing "events" in a multi-sensor data stream?

I have a number of sensors arranged circumferentially around a cylinder. Each sensor is recording data. I want to batch analyse ...

5 years ago | 0 answers | 0

Question

I want to rescale a contourf plot when I zoom in and out

Ok, I will do my best to describe this. I have a matrix that I've plotted using a contour plot. The matrix is very feature rich,...

5 years ago | 0 answers | 0