CONTRIBUTIONS**0 Posts**

CONTRIBUTIONS**0** Public Channels

AVERAGE RATING

CONTRIBUTIONS**0** Highlights

AVERAGE NO. OF LIKES

Question

How can I model time-independent models in Simulink?

I have a physical component library, implemented as a forest of Matlab classes, where each object would represent a fairly indep...

1 year ago | 0 answers | 0

Question

Why is matlab fixed pint arithmetic so slow?

I don't have a very strong FPU (no video card). I intended to accelerate my computation representing floating point numbers as 3...

2 years ago | 1 answer | 0

Question

optimplot optimization monitoring if the optimfunction has a parfor loop inside doesn't redraw the figure.

Hello, everyone. I have a very heavy optimization process, with each step requiring several hours of running. To increase th...

2 years ago | 0 answers | 0

Question

Reusing getters for every property of a class. (For verifying an object state.)

I have a fairly complicated Matlab class with many properties, which are classes themselves. In total, the amount of properti...

2 years ago | 0 answers | 0

Question

How can I indent the output of display() and disp()?

I am writing a small snippet to display trees of objects hierarchically. I want to use standard Matlab functions as much as po...

2 years ago | 3 answers | 0

Question

How does Curve Fitting Toolbox's fit() function works with non-differentiable expressions?

As far as I understand, fit() uses Levenberg-Marquardt's method of function optimization, which is a gradient-based method (modi...

3 years ago | 0 answers | 0

Answered

Is it possible to have private folders in packages?

A private folder in a package works fine in my Matlab 2013a. What doesn't work, however is non-private package subfolders. ...

Is it possible to have private folders in packages?

A private folder in a package works fine in my Matlab 2013a. What doesn't work, however is non-private package subfolders. ...

3 years ago | 0

Question

Why did the -nodesktop startup option disappeared from the documentation?

On Windows one can run Matlab without the IDE by supplying the '-nodesktop' option to the matlab command. However, neither th...

3 years ago | 1 answer | 0

Question

Which function do I need to rearrange a symbolic expression?

I have an expression of the form: 4t(a+b-c)^2 + (x-a)^2 + (y-b)^2 + (z-c)^2 I need to rearrange it to the form: (some...

4 years ago | 1 answer | 0

Answered

How can I add text to an image and make the text become part of the image within MATLAB?

Unfortunately, the insertText function is excruciatingly slow, 0.04 seconds per call. That is ~1.5 seconds on 40 objects. ...

How can I add text to an image and make the text become part of the image within MATLAB?

Unfortunately, the insertText function is excruciatingly slow, 0.04 seconds per call. That is ~1.5 seconds on 40 objects. ...

5 years ago | 0

Question

How do I index an array/cell array with an array?

I am sorry, it's a very newbie question, but I am nearly lost. So I have a cell array data2 = num2cell(magic(5)) And I...

5 years ago | 2 answers | 0

Question

How to keep a GUI in sync with internal state?

Hello, everyone. My question is the following: Suppose you have a fairly large figure with many tables and other component...

6 years ago | 0 answers | 0

Question

What is the smart way of managing data in Matlab?

The question is a bit vague, but I'll try to explain. I have a rather ugly data source (bad quality scans of handwritten note...

7 years ago | 0 answers | 0

Question

Is it possible to generate automatic stubs for default functions? (GUI for example)

The question is the following. I want MATLAB to automatically generate stubs for unimplemented functions. I am writing a f...

7 years ago | 0 answers | 0

Question

How can I create a nested figure/my own component?

I need to create my own simple compound GUI control, but I do not want to dig into AciveX. The thing is - I need to define a ...

9 years ago | 3 answers | 1

Question

How do i create "projects"?

I am writing something like an application in Matlab. What annoys me most is the need to click through the directory tree in ...

9 years ago | 2 answers | 1

Question

How to solve nonlinear equations?

I need to solve the nonlinear equation: (x-m1)'Y1(x-m1)=a*(x-m2)'Y2(x-m2) 'm1' and 'm2' are 2-dim vectors, Y1 and Y2 - 2-d...

9 years ago | 1 answer | 0