回答済み
How can I find the two intersection points of the x and y axis of two equations in Matlab?
Example with deliberately different equations. You can study the techniques and appy them to your own code. syms x y eqn1 = y ...

9ヶ月 前 | 1

| 採用済み

回答済み
error: Unsupported input format for From Workspace block 'untitled/From Workspace1'. Available formats are double non-complex matrix, a structure with or without time, or a st
When you use From Workspace, then you need to be importing something that has a time component attached to each measurement, suc...

9ヶ月 前 | 0

| 採用済み

回答済み
How can I mark the central point in annotate box
Suppose you have BB, an N x 4 array of bounding boxes of the form [x y width height] . These might have come from regionprops('B...

9ヶ月 前 | 0

回答済み
Out of memory - dsolve 3rd order system
syms y(t) t; Dy = diff(y, 1); D2y = diff(y, 2); f = 10*exp(-t); sysB = diff(y,3) + 7*diff(y,2) + 8*diff(y,1) + 9*y == diff(f...

9ヶ月 前 | 0

回答済み
How can I write a rational functions?
Example that is deliberately different than the function you are using. You can study the techniques here and easily write your ...

9ヶ月 前 | 0

| 採用済み

回答済み
ga Taking too Much Time wtihout any Results
demand = table2array (mainData(9:62 , 2:21)); That is a 2D array. expDemand = expValue(demand, meanDemandResize, stdDemandResi...

9ヶ月 前 | 0

| 採用済み

回答済み
how I can fix sample time in ode45
You cannot do that. ode45() is always a variable-step solver. So is ode15s, ode23s, ode78, ode113, ode89. If you need a fixed s...

9ヶ月 前 | 0

回答済み
Solve these unkowns x and y using these 2 simultaneous equations
syms m3R3l3 m4R4l4 Eq1 = 2760 * sind(sym(200)) + m3R3l3 * sind(sym(107)) + m4R4l4 * sind(sym(307)) == 0 Eq2 = 2760 * cosd(sym(...

9ヶ月 前 | 0

| 採用済み

回答済み
How to read a binary file and then classify it?
This assumes that the data really is int32, which I am not convinced of. FileName = '1.dat'; file_id=fopen(FileName,'r'); d...

9ヶ月 前 | 0

回答済み
How to close only anova figures
close(findall(0, '-depth', 1, 'Type', 'figure', 'Name', 'N-Way ANOVA')) The anova function does not produce any graphics, so th...

9ヶ月 前 | 1

| 採用済み

回答済み
Regression Learning Error Message on Command Window
Somewhere in your MATLAB path, you have a height.m file that is interfering with MATLAB's height function. Looking at the error...

9ヶ月 前 | 0

回答済み
why it does not work ?
missing end statement no assignment to the output variable out

9ヶ月 前 | 0

回答済み
Use num2str in for loop
Please read http://www.mathworks.com/matlabcentral/answers/304528-tutorial-why-variables-should-not-be-named-dynamically-eval fo...

9ヶ月 前 | 0

| 採用済み

回答済み
How to add more information to plot help-box?
See datacursormode for the more general function. In the particular case of what MATLAB refers to as "chart objects" (which it ...

9ヶ月 前 | 0

| 採用済み

回答済み
How do I declare multiple variables with a rule for naming?
Is there a one- or two-liner way of doing this pattern? Yes, there is a way. But that does not mean it is a good idea. Can you...

9ヶ月 前 | 1

| 採用済み

回答済み
Assigning values to a preallocated variable costs more time than to a non-preallocated variable?
a(:) = b*c; In MATLAB, as each expression is calculated, the result has to be stored in memory along with information about th...

9ヶ月 前 | 1

| 採用済み

回答済み
Why do I get this Error using . "Array indices must be positive integers or logical values."
The code splits apart the name at '_" characters, so for the name "Exp_21_5_e" parts(1) would be "Exp", parts(2) would be "21", ...

9ヶ月 前 | 0

回答済み
Including a value inside an annotation
You have annotation(['textbox',[0.42 0.864 0.1 0.1],'String','L. St. Lawrence - INCREASE IN ISI (n=',num2str(q),')','EdgeColor...

9ヶ月 前 | 0

| 採用済み

回答済み
advice on how to type this formula
syms t x_1(t) = 1/2-1/pi*sin(4*pi*t)

9ヶ月 前 | 1

回答済み
Problem using sscanf in picking out numbers from string.
str1 = 'D993920x2ExlsSuited20.xls'; %method 1 res = str2double(regexp(str1, '\d+', 'match')) %method 2 res = double(...

9ヶ月 前 | 0

回答済み
I need simple code of deep neural networks
Deep Neural Networks are complicated things. You will not be able to find simple code for them. On the other hand, if you found...

9ヶ月 前 | 0

| 採用済み

回答済み
Updating license file on License server
Historically the FlexM license manager provided a utility named lmreread that would tell the MLM to re-read the license file wit...

9ヶ月 前 | 0

回答済み
How to find the maximum of a 2d function in specific interval?
syms x y P=0; for i=1:7 for j=1:7 P= legendreP(i-1,x)*legendreP(j-1,y)+P; end end Pe = collect(expand(P...

9ヶ月 前 | 2

回答済み
Changing ode solver tolerances on the fly
If you use a tspan with exactly two elements, and you use ode options to set the Refine option to 0, then the ode functions will...

9ヶ月 前 | 0

| 採用済み

回答済み
Code not running/plotting
% input parameters Ta=15+273.15; ha=5; Tr=-7+273.15; Tw=10+273.15; Hi=10; Bi=20; Li=60; Kins=0.045; xbar=Li/Hi; ybar=B...

9ヶ月 前 | 0

| 採用済み

回答済み
Computation problems of nonlinear algebraic simultaneous equations.
Yes. It is too difficult to solve symbolically (at least according to Maple)

9ヶ月 前 | 0

| 採用済み

回答済み
Right hand side of an assignment into a table must be another table or a cell array.
bias = table('Size',[1,11], 'VariableTypes', {'datetime', 'string', 'double', 'double', 'double', 'double', 'double', 'double', ...

9ヶ月 前 | 0

回答済み
Why am I getting ode45 error?
I am still testing the below; some minor changes need to be made to some of your plotting code. %%Execution file Wi=0:0.1:25;...

9ヶ月 前 | 0

回答済み
how can I set the decimal digits of all coefficients at one time when outputting a polynomial f?
P = [5.327416, -3.660092, 1.5799301] %method 1 vpa(poly2sym(P, sym('x')),4) %method 2 poly2sym(round(sym(P),3)) %m...

9ヶ月 前 | 1

| 採用済み

回答済み
I don't understand why this script is outputting imaginary values
There is one real solution, and three complex solutions. format long g syms x [1 8] eqn = sub1(x) char(eqn.') solv = ...

9ヶ月 前 | 0

| 採用済み

さらに読み込む