Answered

Make Boxes on Surface in 3D Plot

A = rand(10,5,3); A = sum(A); A = squeeze(A); surf(A,'LineWidth',2)

Make Boxes on Surface in 3D Plot

A = rand(10,5,3); A = sum(A); A = squeeze(A); surf(A,'LineWidth',2)

9 dagen ago | 0

| accepted

Answered

Matlab and MacOS Catalina

https://de.mathworks.com/support/requirements/platform-road-map.html

Matlab and MacOS Catalina

https://de.mathworks.com/support/requirements/platform-road-map.html

9 dagen ago | 0

| accepted

Answered

https://www.mathworks.com/help/hdlfilter/hdl-butterworth-filter.html

Try the link from the documentation of R2017b: https://de.mathworks.com/help/releases/R2017b/hdlfilter/examples/hdl-butterworth...

https://www.mathworks.com/help/hdlfilter/hdl-butterworth-filter.html

Try the link from the documentation of R2017b: https://de.mathworks.com/help/releases/R2017b/hdlfilter/examples/hdl-butterworth...

9 dagen ago | 0

Answered

numerical solution of predator-prey model

Problem was here: dsdt=[dsdt_1;dsdt_2,dsdt_3]; it should be: dsdt=[dsdt_1;dsdt_2;dsdt_3]; Then it works. function signal ...

numerical solution of predator-prey model

Problem was here: dsdt=[dsdt_1;dsdt_2,dsdt_3]; it should be: dsdt=[dsdt_1;dsdt_2;dsdt_3]; Then it works. function signal ...

9 dagen ago | 0

| accepted

Answered

How can I solve a second order ODE backwards in simulink or matlab?

It is allowed to integrate backwards with ode45 just by declaring tspan backwards: tspan = [t1 0] Then your ending conditions ...

How can I solve a second order ODE backwards in simulink or matlab?

It is allowed to integrate backwards with ode45 just by declaring tspan backwards: tspan = [t1 0] Then your ending conditions ...

10 dagen ago | 0

| accepted

Answered

How to enter the following functions

you need to rewrite so that the given equations are equal to zero. Then |fzero| finds x. fun = @(x) something with x equal ...

How to enter the following functions

you need to rewrite so that the given equations are equal to zero. Then |fzero| finds x. fun = @(x) something with x equal ...

11 dagen ago | 1

| accepted

Answered

How to plot absorption of sound waves in seawater and boric acid?

% Produce some data x = logspace(-1,2); y1 = exp(x); y2 = (exp(x)./exp(y1)); % Plot lo double log-scale loglog(x,y1,'--k'...

How to plot absorption of sound waves in seawater and boric acid?

% Produce some data x = logspace(-1,2); y1 = exp(x); y2 = (exp(x)./exp(y1)); % Plot lo double log-scale loglog(x,y1,'--k'...

11 dagen ago | 0

| accepted

Answered

How do i write a polynomial and take the derivative?

>> T = [1 -1 -1 -1] T = 1 -1 -1 -1 >> dT = polyder(T) dT = 3 -2 -1

How do i write a polynomial and take the derivative?

>> T = [1 -1 -1 -1] T = 1 -1 -1 -1 >> dT = polyder(T) dT = 3 -2 -1

11 dagen ago | 0

| accepted

Answered

Generate Random Vector of n-elements

https://de.mathworks.com/help/matlab/ref/rand.html?s_tid=doc_ta#buiavoq-9

Generate Random Vector of n-elements

https://de.mathworks.com/help/matlab/ref/rand.html?s_tid=doc_ta#buiavoq-9

11 dagen ago | 0

| accepted

Answered

derivative at various points in symbolic math toolbox

A = [1 2 4 6]; syms x f(x) = x^2 sol = f(A) gives: f(x) = x^2 sol = [ 1, 4, 16, 36]

derivative at various points in symbolic math toolbox

A = [1 2 4 6]; syms x f(x) = x^2 sol = f(A) gives: f(x) = x^2 sol = [ 1, 4, 16, 36]

15 dagen ago | 0

Answered

Getting started with machine learning

Matlab has an excellent documentation site including several examples for every Toolbox. Additionally there are a lot of webinar...

Getting started with machine learning

Matlab has an excellent documentation site including several examples for every Toolbox. Additionally there are a lot of webinar...

27 dagen ago | 0

Answered

Use "solution converged to an infeasible point" as an input

Use the output exitflag to find out if there was no feasible point: [x,fval,exitflag,output] = fmincon(@(X) obj_function(X,P,Pd...

Use "solution converged to an infeasible point" as an input

Use the output exitflag to find out if there was no feasible point: [x,fval,exitflag,output] = fmincon(@(X) obj_function(X,P,Pd...

27 dagen ago | 1

| accepted

Answered

bvp4c gives error "The derivative function ODEFUN should return a column vector of length 4."

Your equations for dcccdt(2) and dcccdt(3) return vectors of size 4001x1, due to the length of p. This is the problem - there ha...

bvp4c gives error "The derivative function ODEFUN should return a column vector of length 4."

Your equations for dcccdt(2) and dcccdt(3) return vectors of size 4001x1, due to the length of p. This is the problem - there ha...

27 dagen ago | 0

Answered

Jacobian Matix vector of variables?

You have to distinguish between a symbolic variable syms x and a symbolic function syms y(t) This is why this works: syms r...

Jacobian Matix vector of variables?

You have to distinguish between a symbolic variable syms x and a symbolic function syms y(t) This is why this works: syms r...

27 dagen ago | 0

Answered

Equation with one unknown

With Symbolic Toolbox: syms t positive g=9.807; %m/s2 d= 1.225; %kg/m3 A=1.9; m=84; Cd=1.14; fun = 2*m/(A*Cd*d)* l...

Equation with one unknown

With Symbolic Toolbox: syms t positive g=9.807; %m/s2 d= 1.225; %kg/m3 A=1.9; m=84; Cd=1.14; fun = 2*m/(A*Cd*d)* l...

27 dagen ago | 0

| accepted

Answered

How can i graph the function from 0 to a certain interval?

doc xlim doc ylim

How can i graph the function from 0 to a certain interval?

doc xlim doc ylim

27 dagen ago | 0

Answered

ODE non homogeneous ploting graph

y = @(x) -5.*exp(2.*x) + 3.*exp(x) + 3.*cos(x) + sin(x); fplot(y,[-20 1],'b-',"LineWidth",2)

ODE non homogeneous ploting graph

y = @(x) -5.*exp(2.*x) + 3.*exp(x) + 3.*cos(x) + sin(x); fplot(y,[-20 1],'b-',"LineWidth",2)

28 dagen ago | 0

| accepted

Answered

ODE45 - Modeling GHR Microspic Car following Model

This code runs, but still has a problem: load mytrafficdata5; basic_ghr(Distance_n,Time_t,Velocity_n) function basic_ghr(Di...

ODE45 - Modeling GHR Microspic Car following Model

This code runs, but still has a problem: load mytrafficdata5; basic_ghr(Distance_n,Time_t,Velocity_n) function basic_ghr(Di...

29 dagen ago | 0

| accepted

Answered

Accessing the Confusion Matrix Data

doc confusionmat confusionmat gives you a matrix, containing all the informations needed - it can be used also as the Normalize...

Accessing the Confusion Matrix Data

doc confusionmat confusionmat gives you a matrix, containing all the informations needed - it can be used also as the Normalize...

30 dagen ago | 0

| accepted

Answered

Continuous and repetitive gaussian random function in matlab

If i understood you correctly, you want to get the same random values every time you run your code. This is reached by the rng f...

Continuous and repetitive gaussian random function in matlab

If i understood you correctly, you want to get the same random values every time you run your code. This is reached by the rng f...

30 dagen ago | 0

| accepted

Answered

random (normal, gaussian series data

If you have Statistics and Machine Learning Toolbox: https://de.mathworks.com/help/stats/makedist.html?s_tid=doc_ta#btstdan-2 ...

random (normal, gaussian series data

If you have Statistics and Machine Learning Toolbox: https://de.mathworks.com/help/stats/makedist.html?s_tid=doc_ta#btstdan-2 ...

30 dagen ago | 0

Answered

Help with file format conversion please!

% Setup the Import Options and import the data opts = delimitedTextImportOptions("NumVariables", 2); % Specify range and del...

Help with file format conversion please!

% Setup the Import Options and import the data opts = delimitedTextImportOptions("NumVariables", 2); % Specify range and del...

ongeveer een maand ago | 0

| accepted

Answered

how do I substitute all negative values in a vector with a random number between 0 and 2

y(y<0) = 2*rand(1,numel(y(y<0)))

how do I substitute all negative values in a vector with a random number between 0 and 2

y(y<0) = 2*rand(1,numel(y(y<0)))

ongeveer een maand ago | 0

Answered

Setting an equation equal to another variable (rearranging) in 2012b

syms s t eq = s == 3*5^(1/2)*t sol_t = solve(eq,t) Beginning from 2017a you can use *isolate*.

Setting an equation equal to another variable (rearranging) in 2012b

syms s t eq = s == 3*5^(1/2)*t sol_t = solve(eq,t) Beginning from 2017a you can use *isolate*.

ongeveer een maand ago | 1

| accepted

Answered

Hello. Is SimPowerSystem available in Matlab 2019a?

The toolbox was changed and the functions are now available in Simscape Electrical.

Hello. Is SimPowerSystem available in Matlab 2019a?

The toolbox was changed and the functions are now available in Simscape Electrical.

ongeveer een maand ago | 0

Answered

Hi! How I can download matlab R2010a?

<https://www.mathworks.com/downloads/web_downloads/select_release?mode=gwylf>

Hi! How I can download matlab R2010a?

<https://www.mathworks.com/downloads/web_downloads/select_release?mode=gwylf>

ongeveer een maand ago | 0

Answered

Saving a graph with edges and nodes

You can not save a workspace object in a *.m-file*. Use a *.mat-file* instead to save your graph. You can load this in other scr...

Saving a graph with edges and nodes

You can not save a workspace object in a *.m-file*. Use a *.mat-file* instead to save your graph. You can load this in other scr...

ongeveer een maand ago | 0

| accepted

Answered

Where can I study more about scripts in Mat Lab.

you might want to look here: <https://de.mathworks.com/learn/tutorials/matlab-onramp.html?s_cid=learn_ONRAMP_BAN>

Where can I study more about scripts in Mat Lab.

you might want to look here: <https://de.mathworks.com/learn/tutorials/matlab-onramp.html?s_cid=learn_ONRAMP_BAN>

ongeveer een maand ago | 0

| accepted

Answered

how to write mat lab program to solve system of linear equation where i can put all coefficients individually and then form a matrix of it.

A\b

how to write mat lab program to solve system of linear equation where i can put all coefficients individually and then form a matrix of it.

A\b

ongeveer 2 maanden ago | 0