Answered
Unrecognized function or variable 'ys'
This has ABSOLUTELY NOTHING to do with the symbolic toolbox, or your download of that TB. LOOK AT YOUR CODE. READ THE ERROR MES...

5 years ago | 2

Answered
MATLAB won't allow me to work with an Array of 7000 rows. It doesn't display an error but It gives me all different values and won't allow me to calcolate the mean
No. 7000 rows is not a limit in MATLAB. Do you need a better PC? Well, Of COURSE YOU DO. We all need better computers. ;) Person...

5 years ago | 1

Answered
How to perform symbolic integration?
Do you presume that every integral you write down has a symbolic, analytical solution? Is that perhaps really a good idea? syms...

5 years ago | 0

Answered
Finding values of n for which the equation has a real root
First, as long as n is real, ALL values of n will produce an equation with either one or THREE real roots. That is to say, a cub...

5 years ago | 0

Answered
SVD of complex matrix to get the desired eigenvectors
K=[-0.469586517065409 + 0.175378013674380i,-0.162669155608248 + 0.474138893683794i,0.187585296250523 + 0.464844814234381i,-0.047...

5 years ago | 0

| accepted

Answered
Solving constrained optimization problem
No problem. Build the matrix A. There is no need to transpose the A_i submatrices, then transpose the result again. Just learn t...

5 years ago | 1

| accepted

Answered
I am using fsolve. "fsolve stopped because the last step was ineffective. However, the vector of function values is not near zero, as measured by the value of the function to"
Um, what is not clear? fsolve did not find a solution to your problem. Not all systems of equations have solutions. Even if the ...

5 years ago | 1

| accepted

Answered
unable to run pinv (Moore Penrose) with accuracy limit
What do you think the 1e-4 applies to? dq=double(pinv(X)*(rGoal-r0),1e-4) Do you think this is a tolerance for pinv? If so, th...

5 years ago | 0

Answered
how can i calculate fourier?
FOURIER is a function that is part of the symbolic toolbox. If you do not have that toolbox, then you could not use it. However,...

5 years ago | 0

Answered
Finding a zero meaned matrix vertically and horizontally.
If you are writing a PCA code for yourself, then yes, you want to mean subtract the array. (If you are just going to use the exi...

5 years ago | 1

| accepted

Answered
With two different initial values I am getting two different answers in fsolve. How to decide which one is more reliable?
When you have different variables with such a large discrepancy in magnitude, the problem is not which solution is more correct,...

5 years ago | 2

| accepted

Answered
Feature Request: Add H.264 encoding to "UAV Toolbox / Simulation 3D / Video Send" block
Sorry, but Answers is not the place to post feature requests. We are not technical support for MATLAB. We are just a set of volu...

5 years ago | 0

| accepted

Answered
Finding roots of a polynomial function
The best way to solve this specific problem is to transform it, in the form of a non-dimensional variable. That is, we see the c...

5 years ago | 1

| accepted

Answered
Find the minimum of a function on a plot and where it occurs on the x-axis
You have a function of one variable. Perhaps you should spend some time reading about tools like fminbnd, or even fminsearch. Ei...

5 years ago | 1

Answered
solve nonlinear equations with unknown variables in matrix format
As an alternative way to understand why there is no solution to your problem is to look at your equations. eq1 = (x+y)*cos(z)-a...

5 years ago | 0

| accepted

Answered
How to get the mean of a staircase graph?
You don't give your actual data, just a pcture of it. Yes, sometimes a picture is worth a thousand words, but pictures are not w...

5 years ago | 0

Answered
how to write fraction function in complex plane by using matlab
MATLAB has a simple form to allow you to store only the coefficients of a polynomial. You aready know that. But there is no simp...

5 years ago | 0

| accepted

Answered
I need help on finding the max & min values of a 3d array.
min and max are not sufficient? For example: A = randi(1000,[4 3 2]) [maxval,maxind] = max(A,[],'all') So 954 is the largest ...

5 years ago | 1

Answered
Is it possible to solve difference equation in MATLAB?
It looks like this is a homework question, so I am reluctant to post a complete answer. But at the same time, it looks like you ...

5 years ago | 0

| accepted

Answered
Stationarity of a signal.
This is not remotely a question about MATLAB, but of understanding what stationary means. You might want to do some reading. ht...

5 years ago | 0

Answered
Does Matlab have any intention to use C2000Ware instead of ControlSuite for Launchpad F28379D in future release?
Maybe. Maybe not. How is that for a definitive response? If you want a more accurate answer, you will need to get a job at The ...

5 years ago | 0

| accepted

Answered
Main Differences Between Symbolic Variables and Symbolic Functions
I'm really not sure what you are asking. One is a function of another variable, the other is a variable. A variable may be a con...

5 years ago | 1

Answered
why Solve function does not give correct solution?
When you solve a nonlinear system of equations, at times, some solutions are spurious. They fail, because some operation in the ...

5 years ago | 1

| accepted

Answered
I can't get the answer for A, B, C and D in matlab using solve command. These variables are functions of X1 and X2 which were previously solved.
syms X1 X2 equ1=(((X1-X2)*(20-X1-X2))/((1-X1)*(1-X1-X2)*(5)))==6600; equ2=((X2*(20-X1-X2))/((1-X1-X2)*(X1-X2)*5))==0.88; S= s...

5 years ago | 1

| accepted

Answered
Solving symbolic function in matlab
So VX is both a variable of integration, AND the upper limit for the integral? Seriously? Do you accept that this is the sort of...

5 years ago | 0

Answered
Is there an appropriate fitting methods for data that as orders of magnitude differences
You do NOT want to use a simple least squares on suh a problem. What will happen is the points that are very large will dominate...

5 years ago | 1

Answered
use of parentheses confusion
This is a question about operator precedence, and we can find the rules here: https://www.mathworks.com/help/matlab/matlab_prog...

5 years ago | 4

Answered
How to find out if a logical array is all zeros?
any does work, with a slight tweak. But you could also use all, or sum, or nnz, or even find. There are certainly many ways. if...

5 years ago | 1

| accepted

Answered
cube root of -1
Remember there are THREE cube roots of -1. -1 is not the only answer. In fact, it is not even the first solution to that problem...

5 years ago | 0

Load more