Beantwortet
Euler and FD method
What is dt? dt=0.248; What is tvec? Is tvec composed of integers? (No, because you used the colon operator with a stride of 0...

mehr als 4 Jahre vor | 0

Beantwortet
My academic license expired on 2021-12-29 but I can't active the licence for the next year because the experiration date stays at 2021-12-29 ....
Answers is not customer support. We cannot help you to deal with your license problem. We cannot help you to rectivate a license...

mehr als 4 Jahre vor | 0

Beantwortet
Numerical integration of discrete data using higher precision
I explained in your last question. NO. You cannot force trapz to give you higher precision. As for trapz giving 30% error here? ...

mehr als 4 Jahre vor | 2

| akzeptiert

Beantwortet
Euclidian distance showing different result for different formula
What you write in d is simply not Euclidean distance What can be wrong? Your belief that it is so? What you write in d1 IS a Euc...

mehr als 4 Jahre vor | 1

Beantwortet
vpaintegral of discrete data
Sorry. vpaintegral CANNOT be used. It simply does not apply to data points, as you then have no function. And the high, multi-di...

mehr als 4 Jahre vor | 0

Beantwortet
Recursive formulas - Numerical method need
Assuming all other parameters are known... Suppose you were to clear all the fractions? So cross multiply by everything in the ...

mehr als 4 Jahre vor | 0

| akzeptiert

Beantwortet
Double Inequality 3Dplot
Easy peasy. lb = [1 1 1]; ub = [2 2 2]; plotregion([],[],lb,ub) view(29,30) grid on box on plotregion can be found on t...

mehr als 4 Jahre vor | 0

| akzeptiert

Beantwortet
command "vpa" not work
vpa is not part of MATLAB, UNLESS you have the symbolic toolbox. So do you have a license for that? At the command line, type v...

mehr als 4 Jahre vor | 0

| akzeptiert

Beantwortet
Different eigenvectors calculated from Matlab and Python
Look at it this way. THERE IS NO ISSUE. While you say that R and Python produce the same result, does it matter? (It possibly me...

mehr als 4 Jahre vor | 2

Beantwortet
5 equations in 5 unknowns with fsolve
Do you expect your function to do anything? LOOK AT YOUR CODE CAREFULLY. Read the code you wrote yourself. Too often, we forget ...

mehr als 4 Jahre vor | 1

Beantwortet
Why is the cubic Spline Interpolation wiggly in flat areas?
Should not the cubic spline be able to be ABSOLUTELY flat in some areas? NO. Sorry, but that will not be the case. A cubic splin...

mehr als 4 Jahre vor | 2

| akzeptiert

Beantwortet
Complex number operation does not make sense
Welcome to the wonderful wacky world of floating point arithmetic. imag(-0.98*exp(-1i*1.1)*exp(1i*1.1)) When MATLAB reports a ...

mehr als 4 Jahre vor | 2

Beantwortet
how can i solve this problem?
You have 20 nonlinear equations in 20 unknowns. Do you seriously expect a symbolic solution? And of course, there will very poss...

mehr als 4 Jahre vor | 2

Beantwortet
how can i make if condation for two number with direction ex ( 50 North) then if they are same direction subract them and if they opposite add them ?
Numbers no not have a character component. They are just numbers. But you can always call East a POSITIVE direction. West is the...

mehr als 4 Jahre vor | 0

Beantwortet
Packing identical cylinders into a rectangular prism
Sorry, but no, there is no simple mathematical formula to perform maximal circle packing of a known radius circle into a given d...

mehr als 4 Jahre vor | 0

Beantwortet
how to find unknown within equation having unknown
R and L are known, with X being an unknown. syms X L R Xsol = solve(R/X==( 0.8*log(L*X/10e-06)+33),X) The script w there is t...

mehr als 4 Jahre vor | 0

Beantwortet
How I can Convert Decimal number into binary number then to matrix binary number ?
Easy peasey. B = dec2bin(123125) B = [repmat('0',rem(length(B),2)),B] reshape(B,2,[])'

mehr als 4 Jahre vor | 1

| akzeptiert

Beantwortet
Inconsistency in behavior of SVD
F = zeros(1000,1800); F(:,1:600) = 37; F(:,601:1200) = 255; F(:,1201:end) = 102; %A tricolor flag, eg France or Italy [U,S,V] ...

mehr als 4 Jahre vor | 1

Beantwortet
detecting strawberries that might deteriorate soon through image analysis
This is simply not a question about MATLAB at all, but image processing and modeling. Until you have an idea what the algorithm ...

mehr als 4 Jahre vor | 0

Beantwortet
Non-Linear Regression of 4 Independent Variables and 1 Dependent Variable
If I had a dime for every person who wanted this, I'd have at least a few rolls of dimes. :) Seriously, there is no such (good)...

mehr als 4 Jahre vor | 0

Beantwortet
How do you perform generic value in MATLAB?
If you do not know those parameters, then you don't know them. What "simulation" would you run? What meaning does it have? At b...

mehr als 4 Jahre vor | 0

Beantwortet
how to solve a system of integro-differential equations?
Last time I checked, int(exp(-t),[-inf,T]) is both trivial to integrate, and yet essentially infinite, for ANY finite value of T...

mehr als 4 Jahre vor | 1

Beantwortet
Sketch the analytical solution, using the formula below. HELP
I might guess that you actually meant to MULTIPLY t with the value (n-1) in this exprssion: x(n+1)=x(n-1)*cos(w*t(n-1))+(v0/w)*...

mehr als 4 Jahre vor | 0

| akzeptiert

Beantwortet
Cholesky factorization: How to change code to produce A = L' * D * L instead of A = L * D * L' .
The trivial solution is... You want to compute a U*D*U' factorization, where U is UPPER triangular. MATLAB already offers LDL, ...

mehr als 4 Jahre vor | 0

Beantwortet
Write a MATLAB script (maksimin) that calculates the maximum and minimum values in an input vector. You should consider that the input vector can have any length
Do you know how to work with character strings, how to build them from components? You should. TRY IT! For example, A = 'Fred';...

mehr als 4 Jahre vor | 0

| akzeptiert

Beantwortet
Why does matrix inversion cause extremely large values to appear in the inverted matrix?
As others have said, a singular stiffness matrix typically means one of several things in a Finite Element problem. It might b...

mehr als 4 Jahre vor | 0

Beantwortet
plotting graph with multiple uknown variables
Sorry. If you have no idea what all of those parameters are, then there is nothing you can plot. A plot requires NUMBERS. You ha...

mehr als 4 Jahre vor | 0

Beantwortet
Matlab 2012b om m1
This is not a problem of Java version, although it might be a factor, if it were not that MATLAB is not compiled to run on that ...

mehr als 4 Jahre vor | 0

Beantwortet
finding the points which results in zero in simple formula
You have the phi and theta. Now you want to know, for which values of phi and theta, you will have y==0, exactly? DON'T USE A L...

mehr als 4 Jahre vor | 0

| akzeptiert

Beantwortet
Can't find sat() function
which sat -all sat.m is not found in any MathWorks provided toolbox. You may need to ask your instructor, since they may have ...

mehr als 4 Jahre vor | 1

Mehr laden