Beantwortet
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...

etwa 8 Jahre vor | 0

| akzeptiert

Gelöst


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...

etwa 8 Jahre vor

Beantwortet
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...

etwa 8 Jahre vor | 0

| akzeptiert

Beantwortet
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 = [...

etwa 8 Jahre vor | 1

| akzeptiert

Beantwortet
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...

etwa 8 Jahre vor | 1

| akzeptiert

Beantwortet
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...

etwa 8 Jahre vor | 0

Beantwortet
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...

etwa 8 Jahre vor | 2

Beantwortet
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 ...

etwa 8 Jahre vor | 0

Beantwortet
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...

etwa 8 Jahre vor | 0

| akzeptiert

Beantwortet
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...

etwa 8 Jahre vor | 0

Beantwortet
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...

etwa 8 Jahre vor | 0

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

etwa 8 Jahre vor | 0

Beantwortet
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...

etwa 8 Jahre vor | 1

| akzeptiert

Beantwortet
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/...

etwa 8 Jahre vor | 0

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

etwa 8 Jahre vor | 0

| akzeptiert

Beantwortet
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...

etwa 8 Jahre vor | 0

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

etwa 8 Jahre vor | 1

Beantwortet
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...

etwa 8 Jahre vor | 0

| akzeptiert

Beantwortet
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....

etwa 8 Jahre vor | 0

| akzeptiert

Beantwortet
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...

etwa 8 Jahre vor | 1

| akzeptiert

Beantwortet
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...

etwa 8 Jahre vor | 0

| akzeptiert

Beantwortet
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...

etwa 8 Jahre vor | 0

Beantwortet
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...

etwa 8 Jahre vor | 0

Beantwortet
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...

etwa 8 Jahre vor | 0

| akzeptiert

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

etwa 8 Jahre vor | 0

Beantwortet
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...

etwa 8 Jahre vor | 0

| akzeptiert

Beantwortet
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: ...

etwa 8 Jahre vor | 0

Beantwortet
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...

etwa 8 Jahre vor | 0

| akzeptiert

Beantwortet
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...

etwa 8 Jahre vor | 1

Frage


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 =...

etwa 8 Jahre vor | 1 Antwort | 2

1

Antwort

Mehr laden