回答済み
How to evaluate integral with given constant ?
Hi, change the order of your commands syms x; h = 3; f = h*x; int(sym(f)) gives: ans = (3*x^2)/...

約8年 前 | 1

| 採用済み

回答済み
Anyway to reduce the precision of solving symbolic equations?
Hi, the standard number of digits when using vpa (x) is 32. You can decrease this value by using: digits(d) a...

約8年 前 | 0

回答済み
I can't create symbolic variable in matlab
Hi, there are some Problems since the Windows update regarding symbolic toolbox in 2017b & 2018a. See here: <https://de.ma...

約8年 前 | 2

| 採用済み

回答済み
Symbolic Math Toolbox - Crash
Hi, there are some Problems since the Windows update regarding symbolic toolbox in 2017b & 2018a. See here: <https://de.ma...

約8年 前 | 1

質問


Setup discrete values for decision variables in optimization problems
Hi, the design of assemblies sometimes raises the question of whether, e.g. a connection should be made with less large screw...

約8年 前 | 1 件の回答 | 1

1

回答

回答済み
Mupad won't work after windows 10 april 2018 update
Hi, there are some Problems since this update. See here: <https://de.mathworks.com/support/bugreports/1755918> Meanwh...

約8年 前 | 0

| 採用済み

回答済み
Help solving a system of differential equations
Hi, does this work for your purpose? x1=0.3; x3=0.9; y1=0.4; y3=0.8; A=10; p=10; syms X_1 X_...

約8年 前 | 1

| 採用済み

回答済み
Help solving a system of differential equations
Hi, did i understand right: x1=0.3; x3=0.9; y1=0.4; y3=0.8; A=10; p=10; syms X1 X2; num =...

約8年 前 | 1

回答済み
Where to find the total execution time in matlab
Hi, the toc toc command measures the elapsed time between these both commands. Its your turn where to set them. tic ....

約8年 前 | 0

回答済み
error calling a function
Hi Susan, you should finish your switch case command with an end command. function f = Mu(t,y,ti,tf,n) m1 = 55; m...

約8年 前 | 0

| 採用済み

回答済み
Please help!!!!First input must be a function handle
Hi try this: syms x; a = -5; b = 5; f = @(x)1/(1+x^2); n=57; h = (b-a)/(2*n); k = linspace(a,b,2*(n+1)...

約8年 前 | 1

| 採用済み

回答済み
Optimization of objective function with multiple constraints and variables
Hi, using an anonymus function works here: P = 6000; E = 30e6; G = 12e6; L = 14; fun=@(x)(1+0.10471...

約8年 前 | 0

| 採用済み

回答済み
How can i plot a graph with different y values for a particular x value?
Hi, x(1:3) = 0.2; y = [3 5 7]; plot(x,y, '*', 'color', 'r') gives you: <</matlabcentral/answers/uploaded_fi...

約8年 前 | 1

回答済み
Fit multiple curves in one graph using least squares
Hi, use this example for your purposes: % load some example data load census % create second sata set cdate...

約8年 前 | 0

回答済み
Fit multiple curves in one graph using least squares
Hi, use the fit function for this - see here: <https://de.mathworks.com/help/curvefit/fit.html?s_tid=doc_ta#bto2v...

約8年 前 | 0

回答済み
Selection function in genetic algorithm
Hi, the SelectionFcn ga uses, will be the binary tournament selection function. All other settings are being overrided when y...

約8年 前 | 0

回答済み
fmincon: nonliner constraint
Hi, i assume, negative values are not allowed. A share of -2 of the stock represented by variable 4 makes no sense. If tha...

約8年 前 | 1

回答済み
Problem with symbolic tool
Hi, the problem is known - see here <https://de.mathworks.com/matlabcentral/answers/399099-matlab-hang-on-busy-when-using-s...

約8年 前 | 0

| 採用済み

回答済み
cost function in classification learner app
Hi, a cost function is not available as far as i know. For more than two classes you could use the function fitcecoc ...

約8年 前 | 0

| 採用済み

回答済み
Problems with financial timetable
Hi, the numbers in your table are not numbers for matlab. '9350.00' is not the same like 9350.00 - the first...

約8年 前 | 1

| 採用済み

回答済み
How to use loss() function in SVM trained model
Hi here you find an example with step by step how to for your problem: <https://de.mathworks.com/help/stats/compactclassif...

約8年 前 | 0

回答済み
How to Open Script from Directory in Matlab
Hi, when working in Matlab try this: run('C:\Your Directory\subfolder\scriptname.m') or run('\\11.222.333.44\S...

約8年 前 | 0

回答済み
How to solve this simple system of 2 equation in MATLAB
Hi, you could do so: % declare syms syms D L t; % Coefficient Matrix A = [cos(t) sin(t); sin(t) cos(t)]; ...

約8年 前 | 0

回答済み
Problem with fit function
Hi Angela, try this: x1=[178 1316 3236 5155 7075 8996 10916 12836 14756 16676 18568]' y1=[1.0000 1.1848 1.4038 1....

約8年 前 | 1

| 採用済み

回答済み
How to replace a "for loop" with vectorization?
Hi, You can find a good start to this topic in the link below. <https://de.mathworks.com/help/matlab/matlab_prog/vectoriza...

約8年 前 | 0

質問


Improving the performance of vectorized code possible?
Hello, I rewrote a calculation script with nested loops in vectorized code, which greatly improved computation time. Now I ha...

約8年 前 | 1 件の回答 | 0

1

回答

回答済み
How to replace a "for loop" with vectorization?
Hi, I finished ;-) You could change the code as follows: 1.) To replace the nested loop this is needed: [b, a] = ...

約8年 前 | 1

| 採用済み

回答済み
How do I use Matlab to create multiple arrays from a single column in .xls based on a varying setpoint?
Hi, you should write the data into a cell array. This type is capable of having different lengths unlike an array. In the fol...

約8年 前 | 0

回答済み
matlab symbolic equations into symbolic matrices and numerically solving
Hi, attached you find a .pdf-file exported from a live script where you find the first steps you need to understand how to do...

約8年 前 | 0

回答済み
How to create a random walk in 1d array
Hi, try this: function ver = random_walk(number_of_tries, center) %% function gives a random walk in 1D % %...

約8年 前 | 0

さらに読み込む