Answered

Error when packaging a toolbox

As it hasn't occurred since doing so, I'll move my content to answer as it seems to solve the problem: For future ref: I do...

Error when packaging a toolbox

As it hasn't occurred since doing so, I'll move my content to answer as it seems to solve the problem: For future ref: I do...

22 days ago | 0

| accepted

Question

Calculating and printing uncertainties of fits after the "normal" display of fit-parameters

Hello, I am storing multiple fits in a cell array "fits". Currently I am just using celldisp to obtain f.e. the following: ...

22 days ago | 1 answer | 0

Question

Why is det(A) sometimes =/= det(A') for random square matrices

Hello, I have been sitting on this for a few hours now. A few months ago, during a practice session, we were asked to show p...

29 days ago | 1 answer | 0

Submitted

LazyPlot

LazyPlot is a toolbox for extensive plotting of data in 2D using any standard matlab fit model with minimal coding effort.

1 month ago | 12 downloads |

Submitted

StayHydratedBot

Background Timer that will remind you to drink something after a set amount of time passed

1 month ago | 0 downloads |

Question

Plotting fits over significantly larger axis ranges

Hello, I am encountering a strange behaviour of matlab, and couldn't find a way to force Matlab to do so. Both graphs are...

2 months ago | 0 answers | 0

Question

Checking a matrix for duplicates in specific row, removing the respective columns

So, I try to explain this. I have a two-row matrix of values, [x;y], f.e. x=[1 2 2 3 4 5 6 6 7] y=[1 2 3 4 5 6 7 7 8] being ...

2 months ago | 1 answer | 0

Solved

Times 2 - START HERE

Try out this test problem first. Given the variable x as your input, multiply it by two and put the result in y. Examples:...

2 months ago

Question

Autoscale axis by a factor of 1000 around the minimum and maximum values of two data sets: Problem with all positive or all negative min/max values

Hello, I have spent a few hours thinking about how to do this, and can't find a method that works. Let's say I have 2 vectors ...

3 months ago | 0 answers | 0

Question

Modify standard fit models to force intercept at [0,0]

Hello, I know I could probably just use a custom fit to solve the problem I have right now, but I want to know if it is poss...

3 months ago | 0 answers | 0

Question

Error when packaging a toolbox

Hello, I have encountered this error multiple times now, and although I somehow seem to get it fixed, I never know how. I h...

3 months ago | 1 answer | 0

Submitted

comma2dot

convert a string of values with commata and transform them into a matrix

3 months ago | 2 downloads |

Answered

Saving a structure with the title of a plot as name

Thank you Geoff Hayes for answering the question and solving the problem. Link to his comment: https://www.mathworks.com/matla...

Saving a structure with the title of a plot as name

Thank you Geoff Hayes for answering the question and solving the problem. Link to his comment: https://www.mathworks.com/matla...

4 months ago | 0

| accepted

Question

Saving a structure with the title of a plot as name

Hello, I am currently trying to get get a function that will both save a newly created figure as a .fig-file with it's title ...

4 months ago | 1 answer | 0

Question

Logic conditions are not equal in if statements

Hello. I am having problems understanding logical expressions and how they differ sometimes, or why certain things work or no...

4 months ago | 1 answer | 0

Question

General Threshhold/rule of thumb for preallocation?

Hello, I've been going over my code slowly dealing with all problems found by the code analyzer. I've now looked into prealloca...

4 months ago | 0 answers | 0

Question

Do edited files autoupdate the respective toolbox.mltbx-file?

Hello, I've gone through and packed a project of mine into a toolbox. Sadly, I found a rather annoying bug afterwards, which...

4 months ago | 0 answers | 0

Question

How do I set legend labels depending on number of plotted data?

Hello, maybe this is the last question? I have a figure with N plotted functions/graphs. The function LPFigurefun below hand...

6 months ago | 1 answer | 0

Question

Publishing multiple files as a toolbox vs just putting the files as a zip on the MATLAB File Exchange

Hello, now that this whole thing is almost done and finished, it consists of 13 functions, 3 scripts and one table. If I wan...

6 months ago | 1 answer | 0

Question

How to control color inside a for loop

Hello, this is a follow up to this question. I asked if it is possible to control the color used by graphs plotted by a for lo...

6 months ago | 1 answer | 1

Question

Function overwrites output with a different number

Hello, This function is outputting a variable called LPfittypeindx that is used to navigate inside the fitting function. Every ...

6 months ago | 2 answers | 0

Question

Control color in a for loop

Hello, this is hopefully the last question I have for now. The function "LPplotfun" will plot the matrices LPmatx/LPmaty row ...

6 months ago | 1 answer | 0

Question

Graphs not plotting correctly.

First of all, I went ahead and reworked the messy goto-crap (or I am trying at least right now). However, now that I am working...

6 months ago | 1 answer | 0

Question

Getting rid of goto()-messes due to inconsistencies

Hello, [This is a rather long introduction to the problem, the beginning of the question is marked as QUESTION] first things f...

6 months ago | 1 answer | 0