Beantwortet
散布図の相関係数の求め方
<https://jp.mathworks.com/help/matlab/ref/corrcoef.html corrcoef関数>で相関係数は計算できるかと思います。 「各データセットごとではなくプロットした全ての値」から相関係数または線形回帰な...

mehr als 9 Jahre vor | 0

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

mehr als 9 Jahre vor | 1

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

mehr als 9 Jahre vor | 0

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

mehr als 9 Jahre vor | 2

| akzeptiert

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

mehr als 9 Jahre vor | 0

| akzeptiert

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

mehr als 9 Jahre vor | 1

| akzeptiert

Gelöst


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

mehr als 9 Jahre vor

Gelöst


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

mehr als 9 Jahre vor

Gelöst


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

mehr als 9 Jahre vor

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

mehr als 9 Jahre vor | 0

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

mehr als 9 Jahre vor | 0

| akzeptiert

Gelöst


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

mehr als 9 Jahre vor

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

mehr als 9 Jahre vor | 2

| akzeptiert

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

mehr als 9 Jahre vor | 5

| akzeptiert

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

mehr als 9 Jahre vor | 1

| akzeptiert

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

mehr als 9 Jahre vor | 1

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

mehr als 9 Jahre vor | 0

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

mehr als 9 Jahre vor | 1

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

mehr als 9 Jahre vor | 1

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

mehr als 9 Jahre vor | 4

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

mehr als 9 Jahre vor | 2

| akzeptiert

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

mehr als 9 Jahre vor | 1

| akzeptiert

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

mehr als 9 Jahre vor | 2

| akzeptiert

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

mehr als 9 Jahre vor | 2

| akzeptiert

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

mehr als 9 Jahre vor | 4

| akzeptiert

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

mehr als 9 Jahre vor | 4

| akzeptiert

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

mehr als 9 Jahre vor | 5

| akzeptiert

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

mehr als 9 Jahre vor | 4

| akzeptiert

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

mehr als 9 Jahre vor | 1

Mehr laden