Answered
地球の表面温度データから地図にプロットする方法
Possible Answer: <https://www.mathworks.com/matlabcentral/answers/304636-how-to-make-a-global-map>

9 years ago | 0

Answered
Instrument Control ToolboxでUSB出力のセンサデータの読み取りはできますか?
File Exchangeで公開されているこちらのサンプルはお試しいただきましたか? <http://jp.mathworks.com/matlabcentral/fileexchange/13547-simulink-serial-example-...

9 years ago | 1

| accepted

Answered
リアルタイムに変化する変数への代入値を記録する方法
幾つか確認させてください。 # _stats_ は イメージ領域のプロパティの計測を行う _regionprops_ 関数の出力でしょうか。 # 「for文中の変数bcはリアルタイムに変化」とは、 _for_ ループが進行する毎に bc が変化する...

9 years ago | 3

| accepted

Answered
時系列プロットの作り方
_TimeInfo_ プロパティの設定をされているということで、 <https://www.mathworks.com/help/matlab/ref/timeseries-class.html timeseries オブジェクトの作成> をお考えかと...

9 years ago | 3

| accepted

Answered
温度マップのデータの結合の仕方について
実行可能なコードをありがとうございます。 提示頂いたコードですと、地図上に10368個(72x144)存在する 2.5°四方がそれぞれ _x_ で指定される一色で表示されます。 すなわち、Lat = 26.25°N, Lon = 21.25°E...

9 years ago | 1

Answered
クラスタリングしたデータの地図へのマッピング
クラスタリング結果 _idx_ をインデックス画像として取扱う方法はいかがでしょうか。 geoshow(idx,cmap,rv); _kmeans_ 関数の出力の1つ _idx_ にはクラスタリング後のクラス番号が出力されています。cmap ...

9 years ago | 1

Answered
値の一般化
平均を0、標準偏差を1に揃える処理でしたら、 _normc_ 関数ではなくStatistics and Machine Learning Toolbox の関数 <https://jp.mathworks.com/help/stats/zscore.ht...

9 years ago | 2

| accepted

Question


Tutorial: MATLAB Answersで早く的確な回答を得るためのポイント
MATLAB Answers はサポートセンターではなく、MATLAB/Simulink に興味のある方がstaffも含め互いに知識や情報を交換・共有する助け合いの場です。 宿題・研究課題などの丸投げはご勘弁くださいませ。 また、問題点・状況をできるだ...

9 years ago | 0 answers | 23

0

answers

Answered
datastoreによりデータの読み込み
添付頂いた text ファイルは値がスペースで区切られ横一列に並んだデータの様です。 _RowDelimiter_ オプションで「スペースで行を区切る」と認識させることで、すべてのデータを縦一列の形で読み取ることが出来ます。 dsX = data...

9 years ago | 2

| accepted

Solved


Is my wife right?
Regardless of input, output the string 'yes'.

9 years ago

Answered
selection of particular rows from a matrix?
_ismember_ function could do the work with 'rows' option. <https://www.mathworks.com/help/matlab/ref/ismember.html ismember: ...

9 years ago | 0

Answered
how to reject of the next value less than the previous one
Not sure what you mean by reject, but will the following be of any help? x=10; while true newvalue = 20*rand; if n...

9 years ago | 0

| accepted

Answered
セル配列の参照について
「非セル配列オブジェクトからセル要素を参照しています。」 は例えば _cell2mat_ にセル配列以外のものを入力したときに発生するエラーですが、表示されているセル配列 _data2_ に対して cell2mat(data2) の実行で発生...

9 years ago | 3

| accepted

Answered
2016b fitlm giving me error "Undefined function or variable 'istall'."
Hmm I could not reproduce your issues. One possibility is that the error comes due to corrupt path or installation. Have you tri...

9 years ago | 4

Answered
Error using Parallel Computing Toolbox with INTLAB
There are some restrictions on variables you can use within _parfor_. Example: <https://www.mathworks.com/help/distcomp/objects...

9 years ago | 0

Answered
Is it true that I will have GUIs issues when upgrading from Matlab 2013b?
It might be true if you are upgrading to R2014b or later. See <https://www.mathworks.com/help/matlab/graphics-changes-in-r20...

9 years ago | 2

Answered
Windowsで作成したMatLabプログラムをLinuxで動作する形にコンパイルすることは出来ますか?
どういった形で Lunix で動作させることを想定されていますでしょうか。 MATLAB上で動作することが前提ですと、基本的にはOS関係なくプログラムをそのまま MATLAB上で実行することが出来ます。 オプションの <https://jp....

9 years ago | 2

| accepted

Answered
インポートファイルの番号の更新方法について
sprintf('AAAA%04d.csv', i) ではいかがでしょうか。%4d でフィールド幅4の整数文字を作成しますが、%04d とすることで、値の前にゼロを入れてフィールド幅をパディングし、0001 や 0010 などを再現します。詳細は...

9 years ago | 2

| accepted

Answered
Distance after n steps in a one-dimensional random walk
Should the line d_n(i) =sqrt((mean(X.^2))); %the expected translation distance after n steps be out of for m=1:M loop?

9 years ago | 0

| accepted

Answered
Logical indexing in cell array
Using _cellfun_ is one way. b = {'1' '2' '3' '4' '5' '6'}; cellfun(@(x) strcmp(x,'3'), b)

9 years ago | 1

Answered
How do seperate a string in different strings while not creating new strings for variables
Using regular expression,, input = '# Donald-Duck [Father] Heuy [Son] Goofy Dewey [Son] Daisy-Duck Scrooge-McDuck [Uncle]';...

9 years ago | 1

Answered
how do I add MEAN to Boxplot?
The ability to plot the mean values using _boxplot_ is not available as of release R2016b. To work around this issue, you can fi...

9 years ago | 3

| accepted

Answered
RESAMPLE関数とスタンドアローン実行ファイルについて
_resample_ も複数ありまして状況に合わせて適切なものが呼び出されます。Signal Processing Toolbox の _resample_ に加えて、MATLAB本体にも _timeseries_ クラスの _resample_ メソッド...

9 years ago | 2

| accepted

Answered
how to create a linear regression in least squares method and Least absolute value method, and find the correlation coefficients.
As far as I know, MATLAB does not have least absolute value method implemented. Related answers are # <http://jp.mathworks.co...

9 years ago | 0

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

9 years ago | 0

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

9 years ago | 1

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

9 years ago | 0

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

9 years ago | 2

| accepted

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

9 years ago | 0

| accepted

Load more