
Hiro Yoshino
MathWorks
DISCLAIMER: Any pieces of advice or opinions posted here are of my own, and in no way reflect that of MathWorks.
Statistiken
RANG
175
of 282.028
REPUTATION
636
BEITRÄGE
0 Fragen
337 Antworten
ANTWORTZUSTIMMUNG
0.00%
ERHALTENE STIMMEN
80
RANG
13.805 of 19.070
REPUTATION
15
DURCHSCHNITTLICHE BEWERTUNG
5.00
BEITRÄGE
1 Datei
DOWNLOADS
5
ALL TIME DOWNLOADS
57
BEITRÄGE
0 Beiträge
BEITRÄGE
0 Öffentlich Kanäle
DURCHSCHNITTLICHE BEWERTUNG
BEITRÄGE
0 Highlights
DURCHSCHNITTLICHE ANZAHL DER LIKES
Content Feed
一次式によるベースライン補正について
面積の補正が必用ということで、いただいたコードを少し変えてみました。 利便性を考慮して最初のデータでも動作するようにしました。y が before, y2 が after です。 % Original data x = (1:36)'; y = [...
25 Tage vor | 0
| akzeptiert
一次式によるベースライン補正について
回転角を考えて、全体のデータを回転させると良いかと思います。 元のデータ x = 0:0.1:36; y = -1.97*x + 116.08; plot(x,y,'b:'); 回転させます theta = 2 * (pi/2 - atan(-...
27 Tage vor | 0
Why peepholeLSTMLayer implemented in a tutorial is much slower than built-in lstmlayer?
I suppose that is because the implementation of interest is a custom model while the built-in LSTM is optimized for computation....
etwa ein Monat vor | 0
変数名に対応した規則性のあるベクトルの作成と ベクトルの結合
文字のまま残すのは、symbolic math などを使われると良いかと思います。 (私がやろうとしたら上手く出来なかったので、ここでは行列の作り方だけお示しします) n = 10 i = (1:(n-1)/2) % 行ベクトル j = (0:(n...
etwa ein Monat vor | 0
for文の書き方について
アイディアを2つお渡しします: [1] cell 配列を使って情報を保存すると楽かなと思います。 それと、string ベクトルの結合ですが、"i" が数値なのでそのまま結合出来ないと思います。num2str で変換しておきます。 app.Btn...
etwa ein Monat vor | 0
| akzeptiert
アニメーションの途中でグラフィックを回転させるにはどうすればよいですか?
rotate が使えるかも知れません。 また、 plot(randn(100,1)); h=zoom; set(h,'Motion','horizontal','Enable','on'); zoom(5.0) なども良いのでは?
etwa ein Monat vor | 0
AppDesignerの画面上に置いてあるフォームやスライダーの値をリセットや復元できるボタンを置きたい
私ならですが アプリを閉じる時に変数を保存する callback を入れる (右クリックから closeRequestFcn を選択 参考) そこに格値を mat ファイルに保存する様にする (save コマンド ) a = app.a; b = ...
etwa ein Monat vor | 1
| akzeptiert
点群データから等高線を作成して、面積を集計する方法
データ、コードを一緒に入れていただくと、回答者が取り組みやすくなります。 こんな感じで入れてみては? x = randn(100,1); y = randn(100,1); z = randn(100,1); scatter3(x,y,z); ...
etwa ein Monat vor | 0
| akzeptiert
How to display pi symbol in the output?
How about this? S = sprintf('Zak Phase of 0th band = %c',960); disp(S);
etwa ein Monat vor | 0
How to upgrade Matlab Web App server from 2022a to 2023a
Here is the link to the series of command required. Then take actions as follows: Stop the current running server first (using ...
3 Monate vor | 0
how do I fit a Raman spectrum that has multiple peaks using Gaussian bands?
How about trying GMM? https://jp.mathworks.com/help/stats/fitgmdist.html This is a standard way to estimate multiple gaussian ...
3 Monate vor | 0
| akzeptiert
検証損失が下がらない
結果だけを見ると、 学習データと 検証データの分布が異なる ように思えます。データが少ないと思いましたが、学習データはどのくらいありますか?
4 Monate vor | 0
| akzeptiert
Using problem based optimization to control a system
It seems that it simply found a local optimum. If this is not the one that you expected, you should change the intial values. Tr...
4 Monate vor | 0
Can I use parfeval in App Designer to plot to a UIAxes while the code keeps running?
As for the 1st question, are you familiar with "Object Oriented Programming"? You should write your code in an OOP manner in th...
4 Monate vor | 1
Power spectral density plot converted to sound pressure level
The simplest way is this; try the following code without receiving the result from the function: pwelch(det_data, window, overl...
4 Monate vor | 0
Error using ' TRANSPOSE does not support N-D arrays. Use PAGETRANSPOSE/PAGECTRANSPOSE to transpose pages or PERMUTE to reorder dimensions of N-D arrays.
I could reproduce the same error message as follows: X = rand(3,3,4) transpose(X) The best bet is replace this with pagetra...
4 Monate vor | 0
回帰学習器アプリで複数の応答で学習させたい
アプリからは実行できないので、一度アプリで学習をしたら エクスポート > 関数の生成 とすれば、学習に必用なコードが出てきます。 ( こちらが参考になる ) この関数に対して、response を別の物を与える様にコードを書き換えてあげれが、仰るこ...
4 Monate vor | 0
Retrieve phase from a time-varying cosine signal
I would suggest that you should try hilbert transform as follows: load("data.txt") plot(data(:,1)) hold on plot(data(:,2)); ...
4 Monate vor | 0
| akzeptiert
How to calculate wavenumber, for fft2 of a 2D array?
We use "normalized frequency" with FFT and this is a linear transformation between the time space and the frequency space. So th...
4 Monate vor | 1
| akzeptiert
using copyfile to copy the FOLDER AND its CONTENTS, i.e., preserve the folder
Why don't you use system command instead? You can use the linux commands as you wish. system("touch myFile.txt") % create myFi...
4 Monate vor | 0
MATLAB tutorials:MATLAB Fundamentals may have a wrong answer
I do not think you are right. ylabel (find the link here) is not a variable but a command. So you do not need to clear it unles...
4 Monate vor | 0
| akzeptiert
Removing rows except containing certain numbers of "33"
You should use "pattern" to detect what you want in the strings as follows: Your data: x = [103 133 1133 1344 332 105 1105 15 ...
4 Monate vor | 0
| akzeptiert
Why do I keep getting this error in my app designer?
(1) This might be irrelevant ... You should change "ans" to something else since ans is already taken. (2) strcmp, "string" is ...
5 Monate vor | 0
fit, lsqcurvefit, fitnlm, nlinfitにはどういった差異があるのでしょうか?
それぞれ共通点もありますが、異なる部分もあるという感じです。 ご自身の目的によっては、どれで実行しても同じという場合はあるかと思います。 fit - 与えたモデルに合わせて、関数がフィッティングされます。非線形なモデルでしたら裏では lsqcurv...
5 Monate vor | 1
| akzeptiert
Curve Fitting Toolbox(曲線フィッター)におけるNonlinearLeastSquaresの計算内容
fitoption の解説を見てみてください: https://jp.mathworks.com/help/curvefit/fitoptions.html Algorithm の指定ができ、近似手順で使用するアルゴリズム から Levenberg-...
5 Monate vor | 1
| akzeptiert
Curve Fitting Toolbox コマンドラインによる座標軸の範囲と目盛り設定について
Curve fitting app >> エクスポート >> Figure にエクスポート 後だと思って以下を見てみてください。 x = -1:0.1:3; y = cos(x); plot(x,y); グラフィックスオブジェクトを探して、プログ...
6 Monate vor | 1
| akzeptiert
HomeEdition Matlab2022b pidtoolが起動しない。
pidtool は削除されました。pidTuner を使ってみてください https://www.mathworks.com/help/control/ref/pidtuner.html?searchHighlight=pidtuner&s_tid=sr...
6 Monate vor | 1
matファイル(v7.3)をpythonで開く方法を教えて下さい
MATLAB Engine を Python で利用するのはどうでしょうか? (推奨の MATLAB - Python 連携方法になります) MATLAB で **.mat としてデータを保存 MATLAB Engine を使って Python から ...
6 Monate vor | 1
Solving for unknown matrix X
I would use a pesudoinverse: A = [6 4;6 1; 1 2; 6 4] B = [8 8 6 7 5; 8 8 1 6 0; 1 4 3 8 7] C = [18042 21288 10716 22446 129...
6 Monate vor | 3
| akzeptiert
データに対して正弦波で近似を行いたい
初期値設定に問題があるのかなと思います。 アプリで実行しているのは、基本的には @Akira Agata さんと同じ方法なので (最小二乗法)、アプリの初期値を見直してみましょう。 アプリ > 詳細オプション > 係数の制約 から開始点 (初期値...
7 Monate vor | 3