Respondida
散布図の最小二乗法及び最小絶対値方による線形回帰
最小二乗法での簡単な線形回帰は、多項式近似を行う polyfit が MATLAB 本体にありますが、最小絶対値法を使用して線形回帰を行う関数はありません。fminsearch関数などを使用して最適化問題としての実装が可能かと思います。 今回、コ...

más de 9 años hace | 1

Respondida
Why "Can't load 'C:\Program Files\MATLAB\R2016b\bin\win64\libmwsimulink.dll': C:\Program Files\MATLAB\R2016b\bin\win64\libmwsimulink.dll is not a valid Win32 application."?
This may be a path issue. You installed a 64 bit MATLAB, but it seems that OS thinks it is a 32 bit application. The issue m...

más de 9 años hace | 0

Respondida
How do I extract extra parameters from the ode45 ordinary differential equation solver function?
One way is to use _OutputFcn_. I have attached an example function that will save _mass_ to the workspace when the calculation i...

más de 9 años hace | 2

| aceptada

Respondida
Custom probability distribution in disttool
Unfortunately, using a custom distribution in _disttool_ is not currently supported. If I were you, I would # create my o...

más de 9 años hace | 0

| aceptada

Respondida
When i saved my code , I am getting this error "Undefined function 'X0' for input arguments of type 'double'". Why is that?
_x0_ in your code is a variable or a function? The error message says that _x0_ is not defined.

más de 9 años hace | 1

| aceptada

Resuelto


Determine if input is odd
Given the input n, return true if n is odd or false if n is even.

más de 9 años hace

Resuelto


Make the vector [1 2 3 4 5 6 7 8 9 10]
In MATLAB, you create a vector by enclosing the elements in square brackets like so: x = [1 2 3 4] Commas are optional, s...

más de 9 años hace

Resuelto


Find the sum of all the numbers of the input vector
Find the sum of all the numbers of the input vector x. Examples: Input x = [1 2 3 5] Output y is 11 Input x ...

más de 9 años hace

Respondida
How to count the length of a raw?
Not sure if I understand your issues correctly, but do you happen to use ()? To see the length of the text inside of the cell, y...

más de 9 años hace | 0

Respondida
How to separate the field from a structure in MATLAB?
Your structure seems to be a nonscalar structure, so try using curly bracket: load('shape.mat'); x_constraint = {S.X}; ...

más de 9 años hace | 0

| aceptada

Resuelto


Pizza!
Given a circular pizza with radius _z_ and thickness _a_, return the pizza's volume. [ _z_ is first input argument.] Non-scor...

más de 9 años hace

Respondida
Approximate matching of numbers across 20 Matrices
If all the 20 datenum vectors has the same length, the following (though not straight forward) could work. # Concatenate all...

más de 9 años hace | 2

| aceptada

Respondida
TreeBagger: Random forest or bagged decision trees?
It's Breiman's Random forest algorithm by default. Ref: <https://jp.mathworks.com/matlabcentral/answers/92525-where-can-i-f...

más de 9 años hace | 5

| aceptada

Respondida
How to enlarge node in a graph?
_highlight_ function may be the one you are looking for. <https://www.mathworks.com/help/matlab/ref/graph.plot.highlight.html h...

más de 9 años hace | 1

| aceptada

Respondida
Manipulating figure in any way makes cpu and ram go to 100%
I am not sure why the sudden issues, but if you are using R2014b or later, the following link could be of help. <https://www....

más de 9 años hace | 1

Respondida
Can I use the PDE toolbox to solve a heat transfer problem with 1 moving part?
Does your geometry consist of many parts with 1 moving part or just a single part that is going in and out of water? If your...

más de 9 años hace | 0

Respondida
複数のテキストデータから一つの散布図の作り方
Communication System Toolboxの関数 _scatterplot_ は実行毎に新しいFigureが作成されます。散布図を新規のFigureではなく、既存のFigureに追加する場合には、 scatterplot(x,n,o...

más de 9 años hace | 1

Respondida
how do I make scatterplot from many data sets.
See. https://jp.mathworks.com/matlabcentral/answers/304711-

más de 9 años hace | 1

Respondida
Matlab2016aが起動できなくなった[windows10]
MATLABのインストールフォルダごと消えてしまったということでしょうか。 matlab.exeが消えてしまうという現象は確認したことがありませんが、Windows側に原因がある場合にはMATLAB側からの修復は難しい可能性があります。再インストールも検...

más de 9 años hace | 4

Respondida
Replacing elements in an array
R=[1 2 1 2 2 2]'; R(R==2) = 4; See <http://blogs.mathworks.com/loren/2013/02/20/logical-indexing-multiple-conditions/ Lo...

más de 9 años hace | 2

| aceptada

Respondida
Control histogram appearance: width of bars
_'BarWidth'_ option only applies to histograms of categorical data. Is your _FIBR_ categorical or numerical? The following is...

más de 9 años hace | 1

| aceptada

Respondida
Mapping Toolboxをインストールするための手順はどのようにすればいいのでしょうか?
Mapping ToolboxはStudent版では提供されていませんが(詳細: <https://jp.mathworks.com/academia/student_version/add-ons.html Add-ons> ) <https://...

más de 9 años hace | 2

| aceptada

Respondida
Passing additional inputs to gamultiobj
You can take advantage of properties of anonymous functions to define values for additional inputs. Suppose you have another ...

más de 9 años hace | 2

| aceptada

Respondida
シンボリック変数を用いて解いた連立方程式の解の表示形式について
_double_ を使うとMATLAB 数値形式に変換できます。 expr = (1+sqrt(sym(5)))/2; expr = double(expr) <https://jp.mathworks.com/help/symbol...

más de 9 años hace | 4

| aceptada

Respondida
How to change NumWorkers property in compiled applications?
Increasing the number of workers above the available physical cores is not highly recommended. Having said that, this doc page c...

más de 9 años hace | 4

| aceptada

Respondida
多項式近似におけるダイアログボックスの場所について
英語表記の "Center and scale x data" に該当する部分になります。 <</matlabcentral/answers/uploaded_files/59860/dialogbox_basicfit.png>> p...

más de 9 años hace | 5

| aceptada

Respondida
How to compare two input arguments of type table
If you want to compare two single values of the same type in the table variable, use {} instead of (), T{1,5} > T{1,6} ...

más de 9 años hace | 4

| aceptada

Respondida
How to model graphically complex shapes in matlab?
I'd suggest that you generate a complex geometry using other CAD tool and exported it to STL if you want to import back to MATLA...

más de 9 años hace | 1

Respondida
Function index is a string, why?
The first input 'Fun' to the function _RegulaRaiz_ is 1x3 char, 'Fun'. So Fa = Fun(1) is f and, Fb = Fun(2) = u. Could you ...

más de 9 años hace | 3

| aceptada

Cargar más