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

9 years ago | 1

| accepted

Solved


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

9 years ago

Solved


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

9 years ago

Solved


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

9 years ago

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

9 years ago | 0

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

9 years ago | 0

| accepted

Solved


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

9 years ago

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

9 years ago | 2

| accepted

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

9 years ago | 5

| accepted

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

9 years ago | 1

| accepted

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

9 years ago | 1

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

9 years ago | 0

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

9 years ago | 1

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

9 years ago | 1

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

9 years ago | 4

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

9 years ago | 2

| accepted

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

9 years ago | 1

| accepted

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

9 years ago | 2

| accepted

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

9 years ago | 2

| accepted

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

9 years ago | 4

| accepted

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

9 years ago | 4

| accepted

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

9 years ago | 5

| accepted

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

9 years ago | 4

| accepted

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

9 years ago | 1

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

9 years ago | 3

| accepted

Answered
クライアントマシンへのインストール
発生するError15は License Manager Error -15 でしょうか。 このエラーは、ライセンスマネージャが起動していない場合や、MATLABがライセンスマネージャとTCP/IPによる通信が正常にできない場合に発生することがあります。...

9 years ago | 3

Answered
ヒストグラムからノイズの算出方法
ここでの「ノイズ」はどう定義されますでしょうか。 ビン数に依存する指標ではありますが、ヒストグラムの近似曲線(確率密度関数?)からのずれということであれば、近似曲線のビンの中央での値との差で計算できます。 もしデータが正規分布かどうか見極めるという...

9 years ago | 3

Answered
Log Scaleの半透明な3D surf Graphの作成方法
R2014b以降のバージョンですと、古いグラフィックス ハードウェアまたは旧式のグラフィックス ドライバーに起因して問題が発生する場合があります。下記ドキュメンテーションページも参考にしてください。 <https://jp.mathworks.com...

9 years ago | 0

Answered
anova1を使い,多重比較でmultcompareを使ったのですが,出力引数のcが5列しか出ていません.
R2013b以前のバージョンでは5列で出力される仕様でしたが、MATLAB R2014aのバージョンから、出力引数cの6列目にp値が出力されるよう変更されました。

9 years ago | 2

Answered
評価版2016aが起動できない
<http://jp.mathworks.com/matlabcentral/answers/140155-why-do-i-receive-error-1731-during-activation Why do I receive error 1731 ...

9 years ago | 1

Load more