Answered
Matlab Linear programming; how to minmize maximum of decision variable?
Consider the <https://www.mathworks.com/help/optim/ug/fminimax.html |fminimax| function> in Optimization Toolbox.

8 years ago | 0

Answered
SyntaxError: Unexpected "for" in my matlab code
On the line where you define the variable d you have an opening square bracket but no corresponding closing square bracket.

8 years ago | 0

| accepted

Answered
what does rn means and what am I supposed to do with it?
Upgrade from release R2017a to release R2017b or apply the workaround given in <https://www.mathworks.com/support/bugreports/15...

8 years ago | 1

Answered
Need help in this error matrix integration
By default the |integral| function requires the integrand you pass into it as the first input argument to return an array the sa...

8 years ago | 0

Answered
'I get error saying Input function must return 'double' or 'single' values. Found 'sym'.' because max is defined in symbolic variable, how to overcome this issue??
Your ymax function returns a |sym| result. If you specify the limits as function handles in your call to |integral2| those funct...

8 years ago | 1

| accepted

Answered
Is there a better way to view dozens of tabs in the Editor Window? Can the tabs be made smaller so I can see more at the same time?
Consider dragging the bar containing the file names to the left or right side of the Editor rather than having it along the top ...

8 years ago | 1

Answered
Can MATLAB solve this matrix equation?
This sounds like an <https://www.mathworks.com/help/images/image-registration.html image registration problem>. Maybe some of th...

8 years ago | 0

Answered
Repeat for-loop from the beginning after recalculating values
I'm not familiar with that particular method. Is it close enough to one of the methods supported by the <https://www.mathworks.c...

8 years ago | 0

Answered
weired vector substraction!
I suspect you believe they match because when you display them in the Command Window they display the same values. But as John D...

8 years ago | 0

| accepted

Answered
i need plot a graph
I second jonas's confusion. Can you sketch out (with pencil and paper, marker and whiteboard, or even stick and sandbox) how you...

8 years ago | 0

Answered
Non-existent fields in optimValues
Look at the "Returned by Functions" column of the table on that page you linked, specifically the values in that column for the ...

8 years ago | 2

Answered
How can I run Matlab with a local license?
If it used to work but no longer works even when connected to the university's network, I suggest contacting the university's IT...

8 years ago | 0

Answered
save output of command window to text files in real time
Start MATLAB with the <https://www.mathworks.com/help/matlab/matlab_env/commonly-used-startup-options.html -logfile option>.

8 years ago | 0

Answered
Create a monthly date vector of serial numbers
With |datetime| and |calendarDuration| there are a couple different ways to create this vector. The first technique just adds...

8 years ago | 1

Answered
Why my generated matrix has a square bracket at every line?
That's just the way non-scalar symbolic matrices are displayed in the Command Window. The Live Editor displays symbolic matri...

8 years ago | 2

Answered
Trying to create a tree in matrix form
This doesn't exactly get you the format you want, but it gets you something pretty close. P = [1 2;1 5;2 4;5 3;2 6;4 7]; ...

8 years ago | 1

| accepted

Answered
How do I import a "Network" variable from a .mat file to Simulink??
If your "Network" variable is a <https://www.mathworks.com/help/nnet/ref/network.html neural network from Neural Network Toolbox...

8 years ago | 1

| accepted

Answered
Multi objective genetic algorithm: Loading variables in function handles
The Note in the first subsection of the Description section on the <https://www.mathworks.com/help/gads/gamultiobj.html |gamulti...

8 years ago | 0

| accepted

Answered
Position property of a system object
This particular <https://www.mathworks.com/help/vision/ref/vision.videoplayer-system-object.html object> has a Position propert...

8 years ago | 0

| accepted

Answered
How to use logical vector E in the output of shortestpathtree command?
The third output for |shortestpathtree| was added <https://www.mathworks.com/help/matlab/release-notes.html?rntext=shortestpatht...

8 years ago | 0

| accepted

Answered
How to find eigenvalue/vector pairs of a linear operator (without having 'explicit' matrix expression)? Like what in Python 'matvec' does?
From <https://www.mathworks.com/help/matlab/ref/eigs.html the |eigs| documentation>: "d = eigs(Afun,n,___) specifies a functi...

8 years ago | 1

| accepted

Answered
the name of the vartestn plot
From <https://www.mathworks.com/help/stats/vartestn.html the documentation> "vartestn(x) returns a summary table of statistics a...

8 years ago | 0

| accepted

Answered
Error using xlim for datetime values
Looking at this section of your code: data_cell2D = [num2cell( datetime( data_cell{1}, 'InputFormat', 'dd.MM.uuuu HH:mm:s...

8 years ago | 0

Answered
GMRES same iterations number
You told |gmres| to use a maximum of 100 outer iterations. Are all your calls to |gmres| reporting that they took 100 iterations...

8 years ago | 0

Answered
Guys why doesn't this code display 'Hello'?
The |~=| operator can handle inputs that are the same size as well as inputs of different size where one is a scalar (scalar exp...

8 years ago | 1

Answered
Is it possible to report built-in functions and provide alternative for further releases?
If you believe you've found a bug or have a suggestion for an enhancement request, please contact Technical Support using the Co...

8 years ago | 1

| accepted

Answered
How can I graph the results of the matrix?
What type of graph are you trying to create? If you're not sure of the name of the graph you're trying to create but you know wh...

8 years ago | 0

Answered
Error in using ode45 to solve a second-order ODE
As stated in <https://www.mathworks.com/help/matlab/matlab_prog/local-functions-in-scripts.html this documentation page>, "Local...

8 years ago | 1

| accepted

Answered
Nonlinear behaviour in Matlab subplot positioning
What you're missing is that there are multiple properties that control the position of an |axes|. See <https://www.mathworks.com...

8 years ago | 0

Answered
Turning a script to a function
Here's a <https://www.mathworks.com/help/matlab/matlab_prog/create-functions-in-files.html documentation page> that explains the...

8 years ago | 1

| accepted

Load more