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

mehr als 4 Jahre vor | 0

| akzeptiert

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

mehr als 4 Jahre vor | 1

| akzeptiert

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

mehr als 4 Jahre vor | 1

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

mehr als 4 Jahre vor | 0

| akzeptiert

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

mehr als 4 Jahre vor | 0

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

mehr als 4 Jahre vor | 0

| akzeptiert

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

mehr als 4 Jahre vor | 1

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

mehr als 4 Jahre vor | 0

| akzeptiert

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

mehr als 4 Jahre vor | 0

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

mehr als 4 Jahre vor | 0

| akzeptiert

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

mehr als 4 Jahre vor | 1

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

mehr als 4 Jahre vor | 1

| akzeptiert

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

mehr als 4 Jahre vor | 1

| akzeptiert

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

mehr als 4 Jahre vor | 0

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

mehr als 4 Jahre vor | 1

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

mehr als 4 Jahre vor | 4

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

mehr als 4 Jahre vor | 1

| akzeptiert

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

mehr als 4 Jahre vor | 0

Beantwortet
Curve Fitting and extrapolation for a semi-circle
There are many circle fitting tools to be found on the file exchange. You can use and download one of them, but I will concede t...

mehr als 4 Jahre vor | 0

Beantwortet
Elementary matrices in Matlab
So many ways to do this. DGM showed a great way using toeplitz. But there are others. For example, you could use diag. n = 5; ...

mehr als 4 Jahre vor | 1

Beantwortet
Is the solver 'lsqnonlin' boundary dependent?
This is unlikely to be the case of lsqnonlin being "boundary dependent". That is not true in my experience. It is more likely a ...

mehr als 4 Jahre vor | 0

Beantwortet
What is the underlying mathematical method used by fittype() to fit data to a defined formula?
Well, fittype des not do the fitting itself. That would fall more into the regime of fit. fittype merely allows you to specify ...

mehr als 4 Jahre vor | 0

Beantwortet
finding the start and end points of a unimodal peak
Wait a second! You are using findpeaks. It returns as one argument the peaks it finds, as well as the associated width. But you ...

mehr als 4 Jahre vor | 0

Beantwortet
Can I take data while setting them
I'll write this as an answer, intead of a comment on @Yongjian Feng's excellent response, as otherwise my thought can become los...

mehr als 4 Jahre vor | 3

Beantwortet
How to convert all array values into negative ones?
So many ways. Don't forget the simple solution: A = [2; 3; 5; -8; 9; 1; -1] B = -abs(A) % this makes all of the signs positive...

mehr als 4 Jahre vor | 0

Beantwortet
How to find constants of integral knowing initial conditions
Raz=26.67*10^3; qo=20; L=3000; M=10*10^6; E=2.1*10^5; d=100; Izz=(pi*d^4)/64; syms x C1 C2 My_x=-Raz*x+(qo*x^2/2)-M; ph...

mehr als 4 Jahre vor | 1

Beantwortet
how do i get the solution from ODE45?
You cannot do so. PERIOD. ODE45 is NOT an analytical solving tool. Would you expect code written for one purpose to perform what...

mehr als 4 Jahre vor | 0

Beantwortet
I am trying to plot the following function but there is a syntax error which I am not sure about
How do you often write the square of cos(x)? Yes, a common mathematical notation is to use cos^2. In MATLAB? Sorry but not valid...

mehr als 4 Jahre vor | 0

| akzeptiert

Beantwortet
Coding in m-file, for a func defined in an interval [x0, xn] like Fi(x)(=(c1(i)+c2(i)*sin(w1*(x-x(i)))+c3(i)*cos(w2*(x-x(i)))+c4(i)*sin(w2*(x-x(i)))+c5(i)*cos(w1*(x-x(i))))?
There are still some issues with the question. Note that it is a REALLY bad idea to use the vector x(i) to indicate break points...

mehr als 4 Jahre vor | 0

Beantwortet
how to code binary integer programming model?
So you have 18 unknowns. What is the problem? What have you tried? You will call intlinprog, (older releases will call bintprog,...

mehr als 4 Jahre vor | 0

| akzeptiert

Mehr laden