Community Profile

photo

Hiro Yoshino

MathWorks

Last seen: Today Con actividad desde 2019

DISCLAIMER: Any pieces of advice or opinions posted here are of my own, and in no way reflect that of MathWorks.

Estadísticas

All
  • Thankful Level 1
  • Knowledgeable Level 5
  • Promoter
  • Solver
  • Personal Best Downloads Level 1
  • 5-Star Galaxy Level 1
  • Pro
  • GitHub Submissions Level 1
  • First Submission
  • 6 Month Streak
  • First Review
  • Revival Level 2

Ver insignias

Content Feed

Ver por

Respondida
一次式によるベースライン補正について
面積の補正が必用ということで、いただいたコードを少し変えてみました。 利便性を考慮して最初のデータでも動作するようにしました。y が before, y2 が after です。 % Original data x = (1:36)'; y = [...

19 días hace | 0

| aceptada

Respondida
一次式によるベースライン補正について
回転角を考えて、全体のデータを回転させると良いかと思います。 元のデータ x = 0:0.1:36; y = -1.97*x + 116.08; plot(x,y,'b:'); 回転させます theta = 2 * (pi/2 - atan(-...

22 días hace | 0

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

28 días hace | 0

Respondida
変数名に対応した規則性のあるベクトルの作成と ベクトルの結合
文字のまま残すのは、symbolic math などを使われると良いかと思います。 (私がやろうとしたら上手く出来なかったので、ここでは行列の作り方だけお示しします) n = 10 i = (1:(n-1)/2) % 行ベクトル j = (0:(n...

alrededor de 1 mes hace | 0

Respondida
for文の書き方について
アイディアを2つお渡しします: [1] cell 配列を使って情報を保存すると楽かなと思います。 それと、string ベクトルの結合ですが、"i" が数値なのでそのまま結合出来ないと思います。num2str で変換しておきます。 app.Btn...

alrededor de 1 mes hace | 0

| aceptada

Respondida
アニメーションの途中でグラフィックを回転させるにはどうすればよいですか?
rotate が使えるかも知れません。 また、 plot(randn(100,1)); h=zoom; set(h,'Motion','horizontal','Enable','on'); zoom(5.0) なども良いのでは?

alrededor de 1 mes hace | 0

Respondida
AppDesignerの画面上に置いてあるフォームやスライダーの値をリセットや復元できるボタンを置きたい
私ならですが アプリを閉じる時に変数を保存する callback を入れる (右クリックから closeRequestFcn を選択 参考) そこに格値を mat ファイルに保存する様にする (save コマンド ) a = app.a; b = ...

alrededor de 1 mes hace | 1

| aceptada

Respondida
点群データから等高線を作成して、面積を集計する方法
データ、コードを一緒に入れていただくと、回答者が取り組みやすくなります。 こんな感じで入れてみては? x = randn(100,1); y = randn(100,1); z = randn(100,1); scatter3(x,y,z); ...

alrededor de 1 mes hace | 0

| aceptada

Respondida
How to display pi symbol in the output?
How about this? S = sprintf('Zak Phase of 0th band = %c',960); disp(S);

alrededor de 1 mes hace | 0

Respondida
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 meses hace | 0

Respondida
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 meses hace | 0

| aceptada

Respondida
検証損失が下がらない
結果だけを見ると、 学習データと 検証データの分布が異なる ように思えます。データが少ないと思いましたが、学習データはどのくらいありますか?

4 meses hace | 0

| aceptada

Respondida
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 meses hace | 0

Respondida
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 meses hace | 1

Respondida
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 meses hace | 0

Respondida
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 meses hace | 0

Respondida
回帰学習器アプリで複数の応答で学習させたい
アプリからは実行できないので、一度アプリで学習をしたら エクスポート > 関数の生成 とすれば、学習に必用なコードが出てきます。 ( こちらが参考になる ) この関数に対して、response を別の物を与える様にコードを書き換えてあげれが、仰るこ...

4 meses hace | 0

Respondida
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 meses hace | 0

| aceptada

Respondida
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 meses hace | 1

| aceptada

Respondida
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 meses hace | 0

Respondida
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 meses hace | 0

| aceptada

Respondida
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 meses hace | 0

| aceptada

Respondida
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 meses hace | 0

Respondida
fit, lsqcurvefit, fitnlm, nlinfitにはどういった差異があるのでしょうか?
それぞれ共通点もありますが、異なる部分もあるという感じです。 ご自身の目的によっては、どれで実行しても同じという場合はあるかと思います。 fit - 与えたモデルに合わせて、関数がフィッティングされます。非線形なモデルでしたら裏では lsqcurv...

5 meses hace | 1

| aceptada

Respondida
Curve Fitting Toolbox(曲線フィッター)におけるNonlinearLeastSquaresの計算内容
fitoption の解説を見てみてください: https://jp.mathworks.com/help/curvefit/fitoptions.html Algorithm の指定ができ、近似手順で使用するアルゴリズム から Levenberg-...

5 meses hace | 1

| aceptada

Respondida
Curve Fitting Toolbox コマンドラインによる座標軸の範囲と目盛り設定について
Curve fitting app >> エクスポート >> Figure にエクスポート 後だと思って以下を見てみてください。 x = -1:0.1:3; y = cos(x); plot(x,y); グラフィックスオブジェクトを探して、プログ...

5 meses hace | 1

| aceptada

Respondida
HomeEdition Matlab2022b pidtoolが起動しない。
pidtool は削除されました。pidTuner を使ってみてください https://www.mathworks.com/help/control/ref/pidtuner.html?searchHighlight=pidtuner&s_tid=sr...

6 meses hace | 1

Respondida
matファイル(v7.3)をpythonで開く方法を教えて下さい
MATLAB Engine を Python で利用するのはどうでしょうか? (推奨の MATLAB - Python 連携方法になります) MATLAB で **.mat としてデータを保存 MATLAB Engine を使って Python から ...

6 meses hace | 1

Respondida
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 meses hace | 3

| aceptada

Respondida
データに対して正弦波で近似を行いたい
初期値設定に問題があるのかなと思います。 アプリで実行しているのは、基本的には @Akira Agata さんと同じ方法なので (最小二乗法)、アプリの初期値を見直してみましょう。 アプリ > 詳細オプション > 係数の制約 から開始点 (初期値...

7 meses hace | 3

Cargar más