Answered
how to find the area
Why not apply common sense? Count the number of white pixels. If you have some tiny amount of white pixels that are not connecte...

10 years ago | 0

Answered
How to import a txt file into matlab?
So learn to use one of the many tools to read a file. Start with textread, or more basic tools like fopen, fread. Then learn abo...

10 years ago | 0

Answered
format short and format long
I think perhaps you misunderstand. Format short does not cause a variable to be stored in any format, nor does format long. T...

10 years ago | 1

Answered
MATLAB symbolic solve function is taking a very long time
You don't show what you actually have. What you don't realize is that things go to hell exponentially fast here. Even if a solut...

10 years ago | 0

| accepted

Answered
Add functions to standard path
help addpath Also savepath, rmpath, pathtool, etc.

10 years ago | 0

| accepted

Answered
how can i write this in matlab ?
You already did write it. WTP? for i=x:-1:Q z=i-1; A0=pi*(i/2)^2; Ai=pi*(z/2)^2; end I added an end, a...

10 years ago | 0

Answered
econometric tool box surprise
As far as I can see, garchfit (and garchset, garchcount, garchdisp, etc.) are not in that toolbox. I would guess that it never w...

10 years ago | 0

Answered
How return my image from binary to grayscale
If your image is at the end in binary form, so 0-1 only, then nothing can convert it back into a full grayscale, with additional...

10 years ago | 1

Answered
convex hull algorithm used in Matlab
Read the help docs. Note that I did not see your question until 3 hours after your having posted it. Yet, at the end of the doc ...

10 years ago | 0

Answered
How could I solve this 2nd order ODE with ode45?
"struggling to find the syntax of ode45 and using symbolic variables" There is NO syntax for ODE45 that will let you solve a ...

10 years ago | 0

| accepted

Answered
After derivation of a complex implicit function, y represents its relational expression
And what is your question? It is trivial to write down problems that have no analytical solutions. You have done so right here i...

10 years ago | 0

Answered
Polyarea function concave or convex
polyarea allows completely general polygons. It does NOT give you the convex hull area. (This is 100% certain.) But, since nobod...

10 years ago | 1

Answered
"Transform" a graph into data
You don't have a "graph". Merely a sparsely sampled list of points, that you now want to sample more finely. That problem is cal...

10 years ago | 1

| accepted

Answered
Trying to Find the solution of trigonometric equation
I think it easy to overlook the logical. :) So, lets apply some common sense here. Suppose you had a solution y for a given Tsi ...

10 years ago | 2

Answered
How to give elliptical fourier coefficients as input to Principal Component Analysis(PCA)
First, do not implement tools that you do not understand, to solve a problem that you need to solve. Learn to use the tools f...

10 years ago | 0

| accepted

Answered
Problem of singular matrix?
The really simple and short answer is to not create singular matrices. The slightly more complex answer is to understand WHY ...

10 years ago | 0

Answered
How to use the fmincon function found in the optimization tool box to solve an overdetermined system
Why would you use fmincon? Silly to use a nonlinear optimization tool to solve a linear problem, like the use of a Mack truck to...

10 years ago | 1

Answered
how can i resize a 2D real number vector?
help repmat

10 years ago | 0

Answered
line doesnt appear on my graph
Why do you expect a line to appear, since you are plotting those points ONE at a time? s far as MATLAB is concerned, you are plo...

10 years ago | 0

Answered
Why are the peaks of my spectrum not exactly at the frequencies of my sinusoidal input signal?
Is a fast Fourier transform, based on a finitely sampled signal, identical to a true Fourier transform, based on integration of ...

10 years ago | 0

Answered
error in imread my file ' drawing.png ' is in folder 'C:\Users\jaysh\Downloads\OpenCV Setup\opencv\sources\doc\py_tutorials\py_gui\images '
You called imread as: img = imread('drawing.jpg') Did you tell imread what directory to look in? No. How does it know to...

10 years ago | 0

Answered
How to tell matlab that all x's to be found are either one or zero using "intlinprog"
Read the help? >> help intlinprog ... X = intlinprog(f,intcon,A,b) solves the problem with integer variables i...

10 years ago | 2

Answered
retrieve start point in Matlab fit object
The starting point used is not one of the outputs of fit. I presume (for good reasons) the authors of the code never thought abo...

10 years ago | 0

| accepted

Answered
Is the simulink really useful for the real system?
That you tried and failed, does not mean it is impossible. Odds are, it is simply a reflection that there are things you need to...

10 years ago | 0

Answered
How to set constraints that depend on the minimized value ?
Sigh. Why can people not be clear about what they need and about their problems? What is d1x1? Is it the product of x1 with s...

10 years ago | 0

Answered
Best fitting curve for highly variable data
You call it highly variable data, but I'd just call it very low signal to noise. In fact, virtually no signal at all. INTERPO...

10 years ago | 1

Answered
determinant of hessian matrix of a greyscale image is too small
Nope. You are not missing a thing, well, except in your understanding of why you should not be using a determinant. Determina...

10 years ago | 0

Answered
eml_transient is not defined function
We don't know what the file eml_assert_all_constant.m contains, not how you are trying to use it. You cannot call a sub-funct...

10 years ago | 0

Answered
Precise conversions from double to symbolic
Too late of course. But the point is that when you create r as a double: r = 1.78503; Then it is NOT stored exactly, as ...

10 years ago | 0

Answered
Does fmincon automatically normalis/scale the input vector according to the bounds?
There appears to be a disconnect here. You have made some completely conflicting statements. "My initial vector elements rang...

10 years ago | 0

Load more