# Joost

Last seen: 11 Tage vor Aktiv seit 2015

Followers: 0   Following: 0

System Architect at Vanderlande Industries

#### Statistik

All

Abzeichen anzeigen

#### Feeds

Anzeigen nach

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

fast 4 Jahre vor | 0

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

etwa 4 Jahre vor | 0

| akzeptiert

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

etwa 4 Jahre vor | 0

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

etwa 4 Jahre vor | 1

| akzeptiert

Beantwortet
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); ...

etwa 4 Jahre vor | 0

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

etwa 4 Jahre vor | 0

Beantwortet
Travelling salesman problem GA Matlab code debug

etwa 4 Jahre vor | 1

| akzeptiert

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

etwa 4 Jahre vor | 1

| akzeptiert

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

etwa 4 Jahre vor | 0

| akzeptiert

Beantwortet
How can I save a figure within app designer?

mehr als 5 Jahre vor | 15

Frage

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

fast 7 Jahre vor | 2 Antworten | 0

### 2

Antworten

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

fast 7 Jahre vor | 0

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

fast 8 Jahre vor | 0

Gelöst

Circle area using pi
Given a circle's radius, compute the circle's area. Use the built-in mathematical constant pi.

fast 8 Jahre vor

Gelöst

Find the numeric mean of the prime numbers in a matrix.
There will always be at least one prime in the matrix. Example: Input in = [ 8 3 5 9 ] Output out is 4...

fast 8 Jahre vor

Gelöst

Sum all integers from 1 to 2^n
Given the number x, y must be the summation of all integers from 1 to 2^x. For instance if x=2 then y must be 1+2+3+4=10.

fast 8 Jahre vor

Gelöst

Most nonzero elements in row
Given the matrix a, return the index r of the row with the most nonzero elements. Assume there will always be exactly one row th...

fast 8 Jahre vor

Gelöst

Who Has the Most Change?
You have a matrix for which each row is a person and the columns represent the number of quarters, nickels, dimes, and pennies t...

fast 8 Jahre vor

Gelöst

Remove any row in which a NaN appears
Given the matrix A, return B in which all the rows that have one or more <http://www.mathworks.com/help/techdoc/ref/nan.html NaN...

fast 8 Jahre vor

Gelöst

Finding Perfect Squares
Given a vector of numbers, return true if one of the numbers is a square of one of the other numbers. Otherwise return false. E...

fast 8 Jahre vor

Gelöst

Elapsed Time
Given two date strings d1 and d2 of the form yyyy/mm/dd HH:MM:SS (assume hours HH is in 24 hour mode), determine how much time, ...

fast 8 Jahre vor

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

fast 8 Jahre vor | 0

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

fast 8 Jahre vor | 0

Beantwortet
There is indeed a problem with the if-elseif-end statement. As soon as the if condition is evaluated true, the elseif is not ...

fast 8 Jahre vor | 0

| akzeptiert

Frage

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

fast 8 Jahre vor | 0 Antworten | 0

### 0

Antworten

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

fast 8 Jahre vor | 0

| akzeptiert

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

fast 8 Jahre vor | 0

Gelöst

The Hitchhiker's Guide to MATLAB
Output logical "true" if the input is the answer to life, the universe and everything. Otherwise, output logical "false".

mehr als 9 Jahre vor

Gelöst

Make one big string out of two smaller strings
If you have two small strings, like 'a' and 'b', return them put together like 'ab'. 'a' and 'b' => 'ab' For extra ...

mehr als 9 Jahre vor

Gelöst

Return 'on' or 'off'
When the input is true, return 'on', otherwise, return 'off'.

mehr als 9 Jahre vor