Answered
Measure performance of 2 programmes
Hi, i suggest to use this: <https://de.mathworks.com/help/matlab/matlab_prog/profiling-for-improving-performance.html> ...

7 years ago | 0

Answered
Under Windows 10 Pro and Matlab 2017b, Matlab symbolic tool 8.0 hangs up. Could anyone help me?
Hi, try to update your matlab: <https://de.mathworks.com/matlabcentral/answers/404882-how-can-i-fix-this-freezing-problem-...

7 years ago | 0

| accepted

Answered
plot the electrical power of a motor having for a time t=20s the values of u(ur,us,ut) and i(ir,is,it))
Hi, this is an example which should work for your purpose: % some values for U(t) and I(t) --> i take random values for ...

7 years ago | 0

Answered
The exact solution to a partial differential equation
Hi, this works by using the <https://de.mathworks.com/products/symbolic.html symbolic math toolbox> : % define symbolic ...

7 years ago | 1

| accepted

Answered
How to solve these two equations for 'tau' and 'b'? All the other symbols are constants. Please help??
Hi, i used the <https://de.mathworks.com/help/symbolic/isolate.html |isolate|> function instead of <https://de.mathworks.com/...

7 years ago | 2

| accepted

Answered
Exact solution of Boundary-Value Problem of second order ordinary differential Equation
Hi, i can not help you with an exact (analytical) solution, but here is a numeric solution: syms T(x) eqn = diff(T,...

7 years ago | 2

Answered
How to set an assumption on a symbolic variable in a symbolic expression?
Hi, you can use the <https://de.mathworks.com/help/symbolic/assume.html |assume|> function for this purpose. Note the sec...

7 years ago | 0

| accepted

Answered
I have a time table with 10 columns and I want to apply same filter to multiple columns.
Hi, this is nearly the same question as you had some weeks before: <https://de.mathworks.com/matlabcentral/answers/409678-...

7 years ago | 0

| accepted

Answered
how can i merge different codes in the main function?
Hi, you can insert as many functions as needed at the *end* (behind the code section) of your main script: some code in ...

7 years ago | 0

| accepted

Answered
how to find out inverse of matrix?
Hi, syms m n T=[1 0 0 0 0 0;... 0 m^2 n^2 m*n 0 0;... 0 n^2 m^2 -m*n 0 0;... 0 -2*m*n 2*m*n m^2-n^2...

7 years ago | 2

| accepted

Answered
how can I integrate this function (1/(1+x.^2)) in matlab
Hi, use <https://de.mathworks.com/help/matlab/ref/integral.html |integral|> function for this: fun = @(x) 1./(1+x.^2) s...

7 years ago | 0

Answered
FMINUNC cannot continue...variable missing , although variable was included to be estimated in sub-function
Hi, you use *v* as an input to your *neglogl* function. There should be at least one line in your code that associates v wi...

8 years ago | 1

Answered
petrosian fractal entropy estimation
Hi, you can use a function handle to do this: PFD = @(N,M) log10(N)/ (log10(N) + log10(N/(N + 0.4*M))) To calculate v...

8 years ago | 0

| accepted

Answered
I need help finding critical values of my function
Hi, use <https://de.mathworks.com/help/optim/ug/fsolve.html?s_tid=doc_ta |fsolve|> on the derivates of your function. Then gi...

8 years ago | 0

Answered
how can i install neural network toolbox?
Hi, assuming you have a license for this toolbox, you can follow this: <https://de.mathworks.com/matlabcentral/answers/101...

8 years ago | 0

Answered
Having problems solving for critical values (Multi variable function)
Hi, my machine also doesnt stop being busy, when trying to solve this problem symbollically, so here is an numeric approach: ...

8 years ago | 0

Answered
Error with fmincon- too many input arguments
Hi, you want to use <https://de.mathworks.com/help/optim/ug/fmincon.html |fmincon|> - which accepts the inputs: x = ...

8 years ago | 0

| accepted

Answered
Solving multiple symbolic equations to get (X/Z)
Hi, i guess you want this: syms X Y Z a b c d eqn(1) = X == a * Y + b * Z; eqn(2) = Y == c * X + d * Z; sol = s...

8 years ago | 0

| accepted

Answered
Integrate acceleration data o get velocity and travel
Hi, bring your values into a .mat-file like the example here at the answer attached: >> acc_values acc_values = ...

8 years ago | 0

Answered
How to download missing functions?
Follow this: <https://de.mathworks.com/matlabcentral/answers/101885-how-do-i-install-additional-toolboxes-into-an-existing-in...

8 years ago | 0

| accepted

Answered
lsqcurvefit question (Function value and YDATA sizes are not equal.)
Hi, Use elementwise operations to declare your function: xdata=[1,5,10,20,50]; ydata=[0.3, 1.6, 2.8, 4.6, 7.6]; ...

8 years ago | 1

| accepted

Answered
Rewrite a long symbolic fraction with fraction bars so it is more compact
Hi, you can use: pretty to make it a bit easier reading the equations. But i would suggest to open a new _Live Sc...

8 years ago | 0

| accepted

Answered
Where can I download R2008a?
Hi, use this link: <https://de.mathworks.com/downloads/web_downloads/select_platform?dl_action=choose_products&tab=f> t...

8 years ago | 0

Answered
Referencing Arbitrary Functions from other Script Files to Solve System of Equations
Hi, This looks like your script bfield is missing a function [what ever comes out] = bfield (whatever goes in...

8 years ago | 0

Answered
How to solve a equation that appears z2
Hi, to get numeric solution use: vpasolve(eqn,Sig) after assigning values to the other variables. Best regards ...

8 years ago | 1

Answered
accessing data from a struct
Hi, A = R.X assigns the Matrix saved in the field X of the struct R to A. % define empty struct R = struct(...

8 years ago | 0

| accepted

Answered
Genetic Algorithm : Lower and Upper Bounds
Hi, the handling of bounds in the case of the use of ga is very well described here: <https://de.mathworks.com/help/gads/c...

8 years ago | 1

| accepted

Answered
bar chart with hold on
Hi, x = [9,10,11,12,13,14]; x1 = [1,2,3,4,5,6]; y = [2,4,5,6,7,8]; y1 = [3,2,4,5,6,9]; h = bar([x x1],[y y1]);...

8 years ago | 0

| accepted

Answered
Plotting the left and right side of a tricky equation?
Hi, this works also on R2018a: <</matlabcentral/answers/uploaded_files/125793/fplot_test.PNG>> Try the following: ...

8 years ago | 0

| accepted

Load more