Community Profile

photo

Joost


Last seen: 1 day ago Active since 2015

System Architect at Vanderlande Industries

Statistics

All
  • 3 Month Streak
  • Revival Level 2
  • Knowledgeable Level 2
  • First Review
  • First Answer
  • Scavenger Finisher
  • Solver

View badges

Content Feed

View by

Answered
Why do I get a graph that is symmetrical based on x=-2 when I draw a graph of y1=4*log((x+2))?
Hello, You find the answer in the Warning that just made the picture... The natural logarithm log(x) is only defined for value...

3 years ago | 0

Answered
The edit field must have a mathematical equation alert using MATLAB GUIDE
I think you can use the str2func command for this. There is a nice example on the documentation page. First put @(x) in front ...

4 years ago | 0

| accepted

Answered
List of built-in functions?
There is an interesting book on speeding up Matlab functions and scripts. A few years old already, but a good read. Author Yair ...

4 years ago | 0

Answered
Discrete indexing for a loop
Hello, I think you can achieve this by changing the outer for loop into: TRange =10*2.^[0:3] for j=1:numel(TRange) T = TRang...

4 years ago | 1

| accepted

Answered
How to put trisurf into my matlab app
Please try this: trisurf(tri, X, Y, Z, p+Pmin, 'Parent', app.View); or trisurf(tri, X, Y, Z, p+Pmin, 'Parent', app.UIAxes); ...

4 years ago | 0

Answered
How to display axes objects in uitab?
I think you can solve it by first creating a uitabgroup, then creating the uitabs, and finally the plots in the proper tabs. Wh...

4 years ago | 0

Answered
Travelling salesman problem GA Matlab code debug
It look like you would like to reproduce from this article: http://www.ijaamm.com/uploads/2/1/4/8/21481830/v2n3p27.pdf The nnm...

4 years ago | 1

| accepted

Answered
Saving figure in app designer.
You might want to take a look at this contribution: https://nl.mathworks.com/matlabcentral/fileexchange/73103-copyuiaxes Regar...

4 years ago | 1

| accepted

Answered
How can I determine the expected sum of randomly chosen numbers from vector? (combinatorics)
The nchoosek function can give you all combinations of 2 elements from the vector. Instead of nchoosek(4, 2), use nchoosek([-1 ...

4 years ago | 0

| accepted

Answered
How can I save a figure within app designer?
Inspired by <https://nl.mathworks.com/matlabcentral/answers/281318-how-can-i-save-a-figure-within-app-designer#answer_313509 Dav...

5 years ago | 15

Question


Is it possible to toggle visibility of signals in (floating) scope during simulation?
I am looking for a way to connect multiple signals to a Simulink scope (can be a floating scope as well) and dynamically toggle ...

6 years ago | 2 answers | 0

2

answers

Answered
How to call pushbutton callback again in uicontrol
Uicontrol callbacks have two default input arguments. Please have a look at the example on the following help page: https://nl...

6 years ago | 0

Answered
Trying to resample data in a uniform manner (with some twists)
I found an interesting contribution on MatlabCentral: <https://nl.mathworks.com/matlabcentral/fileexchange/34871-arclength/cont...

7 years ago | 0

Answered
install matlab 2015a error pls help
Call technical support. Installation support is free of charge for all license types (at least it is here in Europe, check out t...

7 years ago | 0

Answered
What happens when the argument l=1 in spap2 command?
I guess what you mean is the fit of one cubic polynomial (4 unknowns) on an arbitrary large data set of (x, y) pairs. In that c...

7 years ago | 0

Answered
Hello, please help me with and advice about conditional statement
There is indeed a problem with the if-elseif-end statement. As soon as the if condition is evaluated true, the elseif is not ...

7 years ago | 0

| accepted

Question


String formatting / manipulation in combination with Matlab Coder
Matlab Coder is used in a project to generate C code from an algorithm designed in Matlab. Comprehensive messages are construct...

7 years ago | 0 answers | 0

0

answers

Answered
How to evaluate and plot a set of equations with multiple points for a specific variable
In the equation C = 3.*RHOBAR/(4.*D) you use element-wise multiplication (.*) but the division is not element-wise. If you turn ...

7 years ago | 0

| accepted

Answered
How to calculate volume by Dilation (ball 3 structural element)?
I am not sure if I understand your question correctly, but I think that what you need to do is: # Compute the sum of the volu...

7 years ago | 0