回答済み
Im getting the following error, even though the required vectors have been created!!
Hi, You try to calculate the <https://de.mathworks.com/help/matlab/ref/cross.html *|cross|*> products of 2 scalars. The initi...

7年以上 前 | 0

回答済み
Is this equation numerically solvable?
Hi, the following code will transform the equations into a form that can be solved with |ode45|. It creates a file _ode_syste...

7年以上 前 | 0

回答済み
Problem with connection in Simulink
Hi, the line color says which type of signal you deal with. That you have black lines ("normal" Simulink Signals) in an elect...

7年以上 前 | 0

回答済み
How initial value of solution can be provided for system solving by fsolve ?
Hi, try: q1=2; D=0.375; k=0.867; q2=2.9349; x0 = [-1 -1 -1 -1 2 2.5] options = optimoptions('fs...

7年以上 前 | 1

| 採用済み

回答済み
Ensure same random coordinates do not appear twice
Hi, use <https://de.mathworks.com/help/matlab/ref/randperm.html *|randperm|*> for getting unique values: _For p = randperm...

7年以上 前 | 1

回答済み
How can I write equation?
Hi, y= linspace(0,2*pi); x=[0, 0.1, 0.5, 0.9]; [a,b] = meshgrid(x,y); r = (1-a.^2)./(1-a.*cos(b)); contourf(x,y,r)

7年以上 前 | 0

回答済み
I cant use audiowrite function in MATAB R2016a
Hi, this appears to be not a problem of Matlab. Try: audiowrite('C:\Path_you_are_allowed_to_write_in\ABC_REC.wav', wavda...

7年以上 前 | 1

回答済み
I am using 'idsolver' to solve a integro-differential equation. But having the problem when run the program "Undefined function or variable 'idsolver' ". How can I solve this problem?
<https://de.mathworks.com/matlabcentral/answers/95224-can-matlab-solve-integro-differential-equations> In the comments to thi...

7年以上 前 | 1

| 採用済み

回答済み
my code is entering infinite loop when i am trying to solve differential equation using ode45 command , can some one help me fix this
Hi, You make your code inefficient by calculating constant values again and again in every iteration. Try this: syms E1 ...

7年以上 前 | 0

| 採用済み

回答済み
problem with implementing non linear constraints in a minimization problem using genetic algorithms
Hi, the way to give nonlinear constraints to solvers like ga is described here: <https://de.mathworks.com/help/gads/constr...

7年以上 前 | 1

| 採用済み

回答済み
Error when using the curve fitting tool
Hi, problably your script is named _fit.m_ - Rename your script. It is not a good idea to name scripts like the function name...

7年以上 前 | 1

回答済み
How to make a function and recall it in MATLAB Android application
Hi, inside the app at the top where you find _Commands_ there is a little arrow. Click it and go to _Files_. There are all th...

7年以上 前 | 0

| 採用済み

回答済み
fmincon linear contraint doens't work for me
Hi, consider: A = [1 -1] b = -eps That means: 1*x(1) -1*x(2) < -eps This inequality will only be true if: ...

7年以上 前 | 1

回答済み
ODE solvers for R2016b
Hi, Most (all?) ode solvers are introduced before R2006a. In the documentation for 2016b is a list of ode solvers: <https:...

7年以上 前 | 0

回答済み
solve the binary integer (0,1) problem
If you want to get binary output there should be a possibility to add integer constraints for x(1)...x(6). In combination with l...

7年以上 前 | 0

回答済み
Symbolic manipulation and integration / not enough input argument
*Edit* Here is another approach, inspired by Walters answer: syms phi(t) g l eqn = diff(phi,t,2) + g/l * sin(phi) == 0;...

7年以上 前 | 0

回答済み
error in digraph while finding adjacency matrix
Hi, try: s = [1 2 5 7 1 3 6 8 2 4 3 4 6]; t = [2 5 7 9 3 6 8 9 4 6 4 5 7]; W=[1 2 3 4 1 2 3 4 2 3 2 3 3]; n...

7年以上 前 | 0

回答済み
How can solve this system of differential equations with two variables x, y? I will attach a photo to make it clearer.
Hi, this system can be integrated in a range of t=[0... ca. 0.247]: x0 = [1.44 0.48]; tspan = [0, 0.247]; [t, y] =...

7年以上 前 | 0

回答済み
How to solve the error ['model' parameter must be a string ]?
Hi, <https://de.mathworks.com/help/simulink/slref/sim.html?searchHighlight=Sim&s_tid=doc_srchtitle#bvfe92n-model *|sim|*> exp...

7年以上 前 | 0

| 採用済み

回答済み
Undefined function or variable 'dct'
Did you take notice of the limitations for code generation for <https://de.mathworks.com/help/signal/ref/dct.html#bvk_tfg-1 *|dc...

7年以上 前 | 0

| 採用済み

回答済み
Help with two 1st order diff eq
Hi, you missed to make a function handle from your vector field like shown <https://de.mathworks.com/help/symbolic/odetovecto...

7年以上 前 | 0

| 採用済み

回答済み
how to simplify a algebra function
Hi, syms f(x) fun = f(x) == (x^2 + 1)^3 fun = collect(fun,x) results in: fun = f(x) == (x^2 + 1)^3 ...

7年以上 前 | 0

| 採用済み

回答済み
Though the linspace has 100 points but it takes 131 points for soly(2,:) in bvp4c
Hi, see the documentation for <https://de.mathworks.com/help/matlab/ref/bvpinit.html *|bvpinit|*>: _x is a vector that spe...

7年以上 前 | 0

| 採用済み

回答済み
Dear sir, How I can define a high order transfer function 1/(s*(T*s+1)^2) in simulink 2018 version? Thanks.
Hi, use the _Transfer Function Block_ and define the transfer function like described in the documentation for the <https://d...

7年以上 前 | 0

| 採用済み

回答済み
what is the date of release of Matlab 2017b
Hi, you find a release history at <https://www.google.de/url?sa=t&source=web&rct=j&url=https://en.m.wikipedia.org/wiki/MA...

7年以上 前 | 0

回答済み
Division by zero in sym using subs
Hi, remove the 0 in the vector -L/2:1000:L/2 for example this way: po=1010*10^2; Dp=6*10^2; L=1000*10...

7年以上 前 | 2

| 採用済み

回答済み
regarding the error in matlab
Hi, try: syms s x y z G_MOTA R_OTA C_OTA s g_mbuf C_gdMN ... C_gsMN g_mMN R_L C_L R_1 R_2 C_1 C_2 V_out V_in...

7年以上 前 | 0

回答済み
Unknown or unsupported solverType fmincon specified for this object
Hi, see the <https://de.mathworks.com/help/finance/portfolio.setsolver.html?s_tid=doc_ta#d120e212965 *|setSolver|*> documenta...

7年以上 前 | 1

| 採用済み

回答済み
How can I extract a column from my database starting from the 2nd row
Hi, this is an example for n=5: a = (1:5)' b = a(2:end) which results in: a = 1 2 ...

7年以上 前 | 0

さらに読み込む