Réponse apportée
How do i install add-on package?
In the recent MATLAB releases it is in the toolstrip on the very top of the window. Find the |ENVIRONMENT| section and the |...

plus de 9 ans il y a | 0

Réponse apportée
I get Subscripted assignment dimension mismatch.
Use instead wave(n,:) = (A(n))*sin(2*pi*(f(n))*T); plot(T,wave(n,:),'b') You also might want to think about pre-alloc...

plus de 9 ans il y a | 0

| A accepté

Réponse apportée
function handle parameterization interval
Georg, you could use something like l_1 = 1; l_2 = 2; radius = 0.5; psi = 0.2; t = -1:0.01:5;...

plus de 9 ans il y a | 0

| A accepté

Réponse apportée
Creating a pushbutton and callback function
Try function myButtonTest() PushButton = uicontrol(gcf,'Style', 'push', 'String', 'Next','Position', [300 10 30 30],...

plus de 9 ans il y a | 0

| A accepté

Réponse apportée
symbolic calculations for physical system doesn't give apropriated answer.
Check out the <http://de.mathworks.com/matlabcentral/fileexchange/49796-euler-lagrange-tool-package Euler-Lagrange tool package>...

plus de 9 ans il y a | 0

| A accepté

Réponse apportée
Hi I have two equations here, and I wonder that how do you plot them as a phase plane. du/dt = u + 3*w + a*u^3 + a*u*w^2 and dw/dt = -u - w + a*u^3 + a*u*w^2 with singular point at (0,0).
Parth, check out this <https://de.mathworks.com/matlabcentral/answers/118837#answer_125898 answer>.

plus de 9 ans il y a | 0

Réponse apportée
How do I select specific data?
Use mat(find(time<5),2)

plus de 9 ans il y a | 0

Réponse apportée
How to draw a horizontal line in a diagram (3D plot)?
Philipp, use the <https://de.mathworks.com/help/matlab/ref/line.html |line|> command.

plus de 9 ans il y a | 0

| A accepté

Réponse apportée
Newton Raphson Method Errors
Shakil, convert the symbolic equations to numeric and you are good to go: function NR(xinit, epsilon) x = xinit; x...

plus de 9 ans il y a | 1

A soumis


Euler-Lagrange tool package
Use the Euler-Lagrange equation to derive differential equations

plus de 9 ans il y a | 21 téléchargements |

4.5 / 5
Thumbnail

Réponse apportée
How to get function handles from sybolic vector of variables for ode45?
Sandeep, use <https://de.mathworks.com/help/symbolic/matlabfunction.html |matlabFunction|> to convert the ODE from symbolic to n...

plus de 9 ans il y a | 0

Réponse apportée
Make lines visible or invisible
There is: t = 0:0.1:10; y = sin(t); figure h1 = plot(t,y); set(h1,'Tag','Line1') hold on h2 = plot(t,y.^2...

plus de 9 ans il y a | 0

Réponse apportée
How do I plot/solve the phase portrait for functions with a range?
Afthab, see this <https://de.mathworks.com/matlabcentral/answers/118837#answer_125898 answer>.

plus de 9 ans il y a | 1

| A accepté

Réponse apportée
Integration with one variable and many constants
Abdurrahman, there is no closed-form solution that MATLAB (and Mathematica) can compute. That is why you get |int()| term as a r...

plus de 9 ans il y a | 1

| A accepté

Réponse apportée
line number in Live Editor
Thomas, to display line numbers in the Live Editor, open a live script, go to the |VIEW| tab on the very top and select |Line Nu...

plus de 9 ans il y a | 4

| A accepté

Réponse apportée
How can I Plot a primitive function?
Nicolas, I would assume that there is no closed-form, symbolic solution for your integral. So instead use numeric integration an...

plus de 9 ans il y a | 0

Réponse apportée
is financial tool necessary to use econonmetrics tool?
Maria, |ugarch| is removed as of release 2016a. See the <http://de.mathworks.com/help/finance/release-notes.html?searchHighlight...

plus de 9 ans il y a | 1

| A accepté

Réponse apportée
How can I change my code so that time series plots show oscillations, rather than steady states?
Charlotte, the graph above shows a plot |y1| versus |y2|. Sort of "position" versus "velocity". In other words plot(sol(:,1...

plus de 9 ans il y a | 0

Réponse apportée
Matlab delete's value's from array
loes, based on your description, how about mat(isnan(mat) | mat==0) = []; where |mat| is, for example, the matrix you sho...

plus de 9 ans il y a | 3

A résolu


Is this triangle right-angled?
Given three positive numbers a, b, c, where c is the largest number, return *true* if the triangle with sides a, b and c is righ...

plus de 9 ans il y a

Réponse apportée
How to report issues on Answers
Per, the MathWorks community team monitors content in Answers, along with all other areas of MATLAB Central. The best way to com...

plus de 9 ans il y a | 1

| A accepté

Réponse apportée
Why is the following code not working to print using fprintf ?
Justin, I assume all variables necessary to create your |strVal| variables are properly defined, e.g. |A_left|? To start with...

plus de 9 ans il y a | 0

Réponse apportée
Find minimum of $n$ first entries, with $1\leq n\leq numel(X)$.
Bananach, use |min| : X = rand(1,10) X = 0.6557 0.0357 0.8491 0.9340 0.6787 0.7577 0.7431 0.39...

plus de 9 ans il y a | 0

Réponse apportée
string to sym error
Alberto, the functionality you are using will be removed in future releases, but you can still use it. That is why you are getti...

plus de 9 ans il y a | 1

| A accepté

Réponse apportée
How to Store results of While-Loop in MATLAB?
Muhammad, x1=19;% Starting Point on X-Axis x2=288;% Ending Point on X-Axis y1=38;% Starting Point on Y-Axis y2=24...

plus de 9 ans il y a | 0

Réponse apportée
How to convert one large vector into an array of matrix?
Nitinkumar, yfit = 1:5*5*10; % just as an exmple: 10 5x5 images x = reshape(yfit,[5,5,10]); You basi...

plus de 9 ans il y a | 1

| A accepté

Réponse apportée
Saving/Visualizing all loop results
I assume you intentionally have two |for| loops, correct? Either way, in case you do not know the size of the final matrix yo...

plus de 9 ans il y a | 0

| A accepté

Réponse apportée
For Loop Not Executing
Gopal, this is because 9*h+h - 10*h ans = 3.469446951953614e-18 and 11*h+h - 12*h ans = 0 Just b...

plus de 9 ans il y a | 1

| A accepté

Réponse apportée
Cannot find MATLAB license of activation key
Martin, log into your MathWorks account ( <https://www.mathworks.com/login?uri=/mwaccount/ https://www.mathworks.com/login?uri=/...

plus de 9 ans il y a | 0

Réponse apportée
How do I plot every nth vector of this Fourier series?
Hi Kristinn, do you mean something like this: t = 0:.02:2*pi; % Graph time, interval between 0 and 2pi f = 0...

plus de 9 ans il y a | 1

Charger plus