回答済み
what optimisation function is appropriate to solve a set of linear objectives subject to inequality constriants.
Hi, This links should help: <https://de.mathworks.com/help/optim/ug/optimization-decision-table.html> <https://de.mathw...

8年弱 前 | 0

| 採用済み

解決済み


Most nonzero elements in row
Given the matrix a, return the index r of the row with the most nonzero elements. Assume there will always be exactly one row th...

8年弱 前

回答済み
Saving and loading a Multiclass SVM Model
Hi, save the workspace with the trained model in it. If you want to make predictions in later matlab sessions just load the c...

8年弱 前 | 0

| 採用済み

回答済み
How to write/read a table to/from a CSV that has multiple values per column?
Hi, the first part is known from your question, just added a row to see if it works with more than one column: x = [...

8年弱 前 | 1

| 採用済み

回答済み
Converting tabulated data to 3D plot
Hi, define a vector x x = [0 10 30 60 120 -10]; define a vector y y = 1000:1000:7000; and calculate/write you...

8年弱 前 | 1

| 採用済み

回答済み
How to add nodes and display it as a graph??
Hi, one issue is, that you wrote: for i = 1:length(i) instead of: for i = 1:length(j) Since length(i) is e...

8年弱 前 | 0

回答済み
How to write/read a table to/from a CSV that has multiple values per column?
Hi, after importing the data in the format you dont want, you could use the <https://de.mathworks.com/help/matlab/ref/mergeva...

8年弱 前 | 2

回答済み
Problem with non linear fit model
Hi, check the size of: Z23= (Z2*Z3)/(Z2+Z3) Z234 = (Z23*Z4)/(Z23+Z4) maybe you should also use .* and ./ here ...

8年弱 前 | 0

回答済み
Is their any toolbox in matlab for finite element analysis
Hi, have a look at this and the examples given: <https://de.mathworks.com/products/pde.html> There is also video ma...

8年弱 前 | 0

| 採用済み

回答済み
Error in using cost matrix for classification model?
Hello, I suspect the following problem - but I can not test it without data ... You create a struct called "cost" that con...

8年弱 前 | 0

回答済み
g1(h*ab) = 0.116|sin((h*ab-90)/2)|+0.085
Hi, there are at least 2 things to do in your code: * Get rid of the 2 * in beginning of line 18 and the * at the end of l...

8年弱 前 | 0

回答済み
sample data within margin of SVM
Hi, For calculation of the accuracy you could calculate the error from your crossvalidated model using crossval comm...

8年弱 前 | 0

回答済み
Divide table in days and then in hours.
Hi, if you use a <https://de.mathworks.com/help/matlab/timetables.html |timetable|> for storing your data the function that m...

8年弱 前 | 1

| 採用済み

回答済み
How can I force a non linear lsq curve (fitnlm) fit through a start and end point??
Hi, you could use this instructions and adjust the given example to your Problem: <https://de.mathworks.com/matlabcentral/...

8年弱 前 | 0

回答済み
reduceDifferentialOrder returns more equations than variables
Hi, you could try [newEqs,newVars] = reduceRedundancies(eqs,vars) see more Information on the documentations site of ...

8年弱 前 | 0

| 採用済み

回答済み
NaN/Inf/Complex value warning using "fit"
Hi, if you do not specify any start points, this can happen, because the start Points are choosen by a heuristic normally. Yo...

8年弱 前 | 0

回答済み
calculating accuracy and confusion matrix
Hi, to compute the confusion matrix use: confusionmat command. Some examples are given in the <https://de.mathworks.c...

8年弱 前 | 1

回答済み
Crossover and mutation operator used in genetic algorithm (optimization toolbox)
Hi, see here <https://www.sciencedirect.com/science/article/abs/pii/S0096300309001830> read espacially the first part o...

8年弱 前 | 0

| 採用済み

回答済み
Realistic behaviour of semi conductors: IGBT, MOSFET
Hi, Simscape Electronics would be the right choice for this purpose. See here for more Information: <https://de.mathworks....

8年弱 前 | 0

| 採用済み

回答済み
Make predictions on new data using a SVM
Hi, use the predict command for this purpose. See the documentation for <https://de.mathworks.com/help/stats/compact...

8年弱 前 | 1

| 採用済み

回答済み
I am creating a graph using graph function but it shows error. why so?
Hi, the code you sent works on my R2017a. There is no error - which Matlab version do you use? This function was introduced i...

8年弱 前 | 0

| 採用済み

回答済み
Fit curve to nonstandard data
Hi, if you have the curve fitting toolbox, you could consider this for your purpose: <https://de.mathworks.com/help/curvef...

8年弱 前 | 0

回答済み
How to create a matrix whose elements are function of their indices?
For such calculations on this scale you should try without the symbolic toolbox. If you look at the Wikipedia article for ell...

8年弱 前 | 0

回答済み
Non-linear system solver
Hi, you could use x = lsqcurvefit(fun,x0,xdata,ydata,lb,ub) to solve this with the known bounds for b and d. When yo...

8年弱 前 | 0

| 採用済み

回答済み
Accuracy and ROC of SVM
Hi, the better way to do this is to use the built in hyperparamter optimization using the option: 'HyperparameterOptimiz...

8年弱 前 | 0

回答済み
How can I correct this error?
Hi, to show disp over tmp Change the plot command: plot(tmp, acc, 'b',tmp,disp,'r.') which will give you this result...

8年弱 前 | 0

| 採用済み

回答済み
How do I make 1 matrix from this two matrices?
Hi, you cant make a matrix from this, because in one file there are strings in a language i dont know. Use a table instead: ...

8年弱 前 | 0

回答済み
how can i fix this freezing problem when use syms?
Hi, there are some Problems since this update. See here: <https://de.mathworks.com/support/bugreports/1755918> Meanwhil...

8年弱 前 | 0

| 採用済み

回答済み
Personal fit using lsq
Hi, try this: F = @(x,xdata)x(1).*(xdata.*(1.0./1.5e1)+2.41e2./2.5e2).^2+x(3).*(xdata.*(9.0./2.5e1)-xdata.^2.*(1.0./1.5e...

8年弱 前 | 1

質問


Display the input options for functions with multiple input arguments
Hi, I have a function that takes more than one input argument - see my example where there are 2 arguments: function z =...

8年弱 前 | 1 件の回答 | 2

1

回答

さらに読み込む