Réponse apportée
How to perform moving average?
Have you checked movmean function? <http://www.mathworks.com/help/matlab/ref/movmean.html>

plus de 9 ans il y a | 1

Réponse apportée
patchの表面カラーにテクスチャを割り当てることはできますか?
詳細に記載頂きありがとうございます。 おっしゃる通り patch オブジェクトでは、全体の色、もしくは面毎/頂点毎の色指定にのみ対応しており、ポリゴンの頂点の密度が粗い場合、テクスチャ画像の再現は難しいですね。個人的にはsurface オブジェクトの...

plus de 9 ans il y a | 4

| A accepté

Réponse apportée
How can I multiply cell arrays
Not sure if the way you described is the best way to proceed but here you can make use of _cellfun_ to achieve I think what you ...

plus de 9 ans il y a | 0

| A accepté

Réponse apportée
2014b で save(uisave)を用いてmat fileを保存する際、figure を保存しないようにするためにはどうすればいいですか?
おっしゃる通り、この動作は R2014b の仕様変更によるものです。uisave や save を実行する際に、保存すべき変数名を明示的に指定して回避することができるか思いますが、いかがでしょうか? figure などの GUI を表示した場合、R2...

plus de 9 ans il y a | 2

Réponse apportée
windows7 8.1 10の32bitOSにて評価版を使用したいのですが存在しますか?過去のVer.でも構いません。
セルフサービスでご利用頂ける評価版は最新版(現在R2016b) のみになります。32bit OS で使用できる R2015b 以前のバージョンを試されたい場合には、 <http://www.mathworks.com/programs/trials/...

plus de 9 ans il y a | 5

Réponse apportée
How can I retrieve RGB array from a colormap given a CData?
By default (with CDataMapping property is set to 'scale'), CData is scaled to "map" to colormap range. So if you somehow convert...

plus de 9 ans il y a | 2

Réponse apportée
Solving ODE45 equations in matlab without a function
It is stated that "The function dydt = odefun(t,y), for a scalar t and a column vector y, must return a column vector dydt" (See...

plus de 9 ans il y a | 0

| A accepté

Réponse apportée
How do I make plot a 3D matrix as a scatter plot with color based on value?
<http://www.mathworks.com/help/matlab/ref/scatter3.html scatter3> allows you to specify color. Please have a look at the example...

plus de 9 ans il y a | 1

Réponse apportée
Get variable out of ode 45
One way is to use OutputFcn. The following entry could be of use. <https://jp.mathworks.com/matlabcentral/answers/305698-how-...

plus de 9 ans il y a | 1

| A accepté

Réponse apportée
matlabにて階層型隠れマルコフモデル(HHMM)の作成は可能でしょうか?
階層型隠れマルコフを構成する組み込み関数はありません(R2016b 現在)が、Github にMATLABでの実装例があるようです。 <https://github.com/TheFGX/Hierarchical-Hidden-Markov-Mode...

plus de 9 ans il y a | 1

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

plus de 9 ans il y a | 0

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

plus de 9 ans il y a | 1

| A accepté

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

plus de 9 ans il y a | 3

| A accepté

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

plus de 9 ans il y a | 3

| A accepté

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

plus de 9 ans il y a | 1

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

plus de 9 ans il y a | 1

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

plus de 9 ans il y a | 2

| A accepté

Question


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

plus de 9 ans il y a | 1 réponse | 23

0

réponse

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

plus de 9 ans il y a | 2

| A accepté

A résolu


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

plus de 9 ans il y a

Réponse apportée
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: ...

plus de 9 ans il y a | 0

Réponse apportée
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...

plus de 9 ans il y a | 0

| A accepté

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

plus de 9 ans il y a | 3

| A accepté

Réponse apportée
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...

plus de 9 ans il y a | 4

Réponse apportée
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...

plus de 9 ans il y a | 0

Réponse apportée
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...

plus de 9 ans il y a | 2

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

plus de 9 ans il y a | 2

| A accepté

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

plus de 9 ans il y a | 2

| A accepté

Réponse apportée
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?

plus de 9 ans il y a | 0

| A accepté

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

plus de 9 ans il y a | 1

Charger plus