Answered
num2str use for a product of two queried variables
Hard to be sure if it's the cause, but in the second version, you have mistyped num2str.

4 years ago | 0

Answered
eliminating isolated areas in a matrix
How can I check to see if when I combine the 4 together that I do not create areas that are "isolated" Use bwconncomp to count ...

4 years ago | 0

Answered
Removing row from logical array then restore the remaining dataset
keeprows=~any(outliers,2); myTable=myTable(keeprows,:);

4 years ago | 0

Answered
Create an array containing indeces and value
Would this be a simplified example fo what you mean? [A,B]=ndgrid(1:5) C=A.^2+B.^2

4 years ago | 0

Answered
Newton method for solving a nonlinear system of equations!
How to calculate the Jacobian of the function g. If Ja is the Jacobian of A{i}(:), then the Jacobian Jgof g will be Jg=kron(y0{...

4 years ago | 0

| accepted

Answered
how to apply an equation including "i,j", "i+1,j" through a loop "for"
Instead of a for-loop, you should use conv2() https://www.mathworks.com/help/matlab/ref/conv2.html which should allow you to ...

4 years ago | 0

Answered
starting Matlab is long
It tends to start up faster if you have an SSD, rather than an HDD. Also, newer Matlab releases supposedly have faster start-u...

4 years ago | 0

Answered
How to adjust TEXT in "regionprops" ?
The question doesn't seem to have anything to do with regionprops really, just with your call to text(). morespace=5; figure...

4 years ago | 1

| accepted

Answered
Adding a point (x,y,'+') to parallelplot
I think you have to embed the point in the parallel data. Parallel plots are not meant to be thought of as Cartesian plots. x=5...

4 years ago | 1

| accepted

Answered
How to put marker at specific x value on line?
There seem to be a lot of threads about that lately, https://www.mathworks.com/matlabcentral/answers/1696205-how-to-indicate-th...

4 years ago | 0

Answered
Why isn't my while loop terminating?
The termination condition of the while loop depends on windowLength, but nothing inside the while loop makes any modifications t...

4 years ago | 0

Submitted


Convert linear functions to matrix form
Obtaining the matrix representing a given linear function

4 years ago | 626 downloads |

0.0 / 5

Answered
Can matlab license be connected to two computers
Depends on the license type. With an individual license you can install on up to 4 computers and have 2 running at the same time...

4 years ago | 0

| accepted

Answered
minimization of a sum with varying number of variables using fmincon
J=minimizeIt(10) J=minimizeIt(20) function J=minimizeIt(m) fun=@(x) -(1:m)*log(x(:)); x0=rand(m,...

4 years ago | 0

| accepted

Answered
Getting error'"Objective function is undefined at initial point. Fminunc cannot continue''
Check what value is being returned by your function at the initial point.

4 years ago | 1

Answered
Writing class in matlab with structures and not allowing user to modify them.
Couldn't you make the properties private/protected in mod and kal?

4 years ago | 0

Answered
Moving graph along x-axis
Let's call your 3 data sets (x0,y0), (x1,y1), (x2,y2) where (x0,y0) are your target data points. Then I might try something like...

4 years ago | 0

Answered
Find complementary column combination of a matrix
Do you need all combinations or just one of the minimium-length combinations? If the latter, then download minL1intlin https://...

4 years ago | 0

Answered
How to get Matlab stop on my file upon error?
If you execute at the command line, >> dbstop if caught error and then rerun the app, I think you will find that the debugger ...

4 years ago | 3

Answered
Execution of Two Independent parfor Loops in the Same Code
The second loop will be run only after the first is complete. It's not really clear how running simultaneously would even be p...

4 years ago | 0

| accepted

Answered
How can i implement following sum notation ?
function y=soru(x,n) y=sum( (3./x).^(1:n) ); end

4 years ago | 0

Answered
Why there is Difference in the Solutions of global/ local optimum value obtained by genetic algorithm and global search using fmincon?
Perhaps you were wrong to assume that fmincon alone was failing to find the global minimum. You can never be certain that a glob...

4 years ago | 0

Answered
How to change the confidence bounds in the curve fitting tool
You can use confint() to get the confidence interval for an arbitrary confidence level, ci = confint(fitresult,level)

4 years ago | 0

| accepted

Answered
Query: If global search found no solution
run the global search with additional diagnostic outputs to see if a valid solution was found, [x,fval,exitflag,output,solution...

4 years ago | 0

| accepted

Answered
plot just a part of a conic surface limited by two straight lines and 2 circles of 2 cross sections of the cone
One option is to use this package, https://www.mathworks.com/matlabcentral/fileexchange/87584-object-oriented-tools-for-fitting...

4 years ago | 0

Answered
Subscript indices must either be real positive integers or logicals.
When I is a numeric vector, you can only index into it I(x) with positive intergers x=1,2,3,4. Clearly, though, x contains non-i...

4 years ago | 0

Answered
Broadcast Variable Warning in MATLAB Parallel Computing Toolbox
In this case, the warnings can probably be ignored because a, b, and L are very small. However, I don't really understand the ...

4 years ago | 0

| accepted

Answered
Create least squares fit for linear combinations
I'm assuming x1,x2, and y1 are all equal-sized column vectors. LHS=x1(:)-x2(:); RHS=y1(:)-x2(:); a1=min(max(LHS\RHS,0),1); ...

4 years ago | 0

Answered
Is there an easier way to disable all the buttons in matlab app designer?
h= findobj(app.UIFigure,'Type','uibutton'); set(h,'Enable','off')

4 years ago | 4

Answered
Hello is there a way have an editfield where uyou are able to put numerical and text ?
An editfield can only store its data as text, but if text containing numbers is entered, you can easily convert it to an actual ...

4 years ago | 1

Load more