
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
176
of 277.940
REPUTATION
608
BEITRÄGE
0 Fragen
326 Antworten
ANTWORTZUSTIMMUNG
0.00%
ERHALTENE STIMMEN
78
RANG
13.986 of 18.801
REPUTATION
13
DURCHSCHNITTLICHE BEWERTUNG
5.00
BEITRÄGE
1 Datei
DOWNLOADS
2
ALL TIME DOWNLOADS
39
BEITRÄGE
0 Beiträge
BEITRÄGE
0 Öffentlich Kanäle
DURCHSCHNITTLICHE BEWERTUNG
BEITRÄGE
0 Highlights
DURCHSCHNITTLICHE ANZAHL DER LIKES
Content Feed
検証損失が下がらない
結果だけを見ると、 過学習 or 学習データと 検証データの分布が異なる と分かります。検証データは全体のデータからランダムに取っていると思うので、恐らく前者(過学習)です。 パッと見ですが、データの数が少ない事に起因するような印象です。私なら3エ...
etwa 4 Stunden vor | 0
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...
3 Tage 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...
3 Tage 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...
6 Tage 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...
6 Tage vor | 0
回帰学習器アプリで複数の応答で学習させたい
アプリからは実行できないので、一度アプリで学習をしたら エクスポート > 関数の生成 とすれば、学習に必用なコードが出てきます。 ( こちらが参考になる ) この関数に対して、response を別の物を与える様にコードを書き換えてあげれが、仰るこ...
7 Tage 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)); ...
13 Tage 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...
13 Tage 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...
14 Tage 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...
14 Tage 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 ...
14 Tage 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 ...
26 Tage vor | 0
fit, lsqcurvefit, fitnlm, nlinfitにはどういった差異があるのでしょうか?
それぞれ共通点もありますが、異なる部分もあるという感じです。 ご自身の目的によっては、どれで実行しても同じという場合はあるかと思います。 fit - 与えたモデルに合わせて、関数がフィッティングされます。非線形なモデルでしたら裏では lsqcurv...
etwa ein Monat vor | 1
| akzeptiert
Curve Fitting Toolbox(曲線フィッター)におけるNonlinearLeastSquaresの計算内容
fitoption の解説を見てみてください: https://jp.mathworks.com/help/curvefit/fitoptions.html Algorithm の指定ができ、近似手順で使用するアルゴリズム から Levenberg-...
etwa ein Monat vor | 1
| akzeptiert
Curve Fitting Toolbox コマンドラインによる座標軸の範囲と目盛り設定について
Curve fitting app >> エクスポート >> Figure にエクスポート 後だと思って以下を見てみてください。 x = -1:0.1:3; y = cos(x); plot(x,y); グラフィックスオブジェクトを探して、プログ...
etwa 2 Monate vor | 1
| akzeptiert
HomeEdition Matlab2022b pidtoolが起動しない。
pidtool は削除されました。pidTuner を使ってみてください https://www.mathworks.com/help/control/ref/pidtuner.html?searchHighlight=pidtuner&s_tid=sr...
etwa 2 Monate vor | 1
matファイル(v7.3)をpythonで開く方法を教えて下さい
MATLAB Engine を Python で利用するのはどうでしょうか? (推奨の MATLAB - Python 連携方法になります) MATLAB で **.mat としてデータを保存 MATLAB Engine を使って Python から ...
2 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...
2 Monate vor | 3
| akzeptiert
データに対して正弦波で近似を行いたい
初期値設定に問題があるのかなと思います。 アプリで実行しているのは、基本的には @Akira Agata さんと同じ方法なので (最小二乗法)、アプリの初期値を見直してみましょう。 アプリ > 詳細オプション > 係数の制約 から開始点 (初期値...
4 Monate vor | 3
画像サイズと形式を指定して保存する方法と、コード内変数を変化させて連番で画像を保存する方法について
(1) 一番簡単な方法は、保存したいプロットにカーソルを合わせるとファイルに保存できるアイコンが出てくるのでそこから保存する。プログラミング的にやりたければ、 p1 = subplot(3,1,1); xP = 1e6.*xD; yP = 1e6...
4 Monate vor | 0
| akzeptiert
二値化画像での大きいノイズの削除
こんな感じでどうでしょうか? I = imread("DSCF0009.JPG"); imshow(I) %トリミング I_Trim = imcrop(I,[0 0 3072 1500]); imshow(I_Trim) %しきい値のローカ...
5 Monate vor | 0
| akzeptiert
How to clear workspace from a function?
You should understand Base and Function Workspaces. Note that they are different. One way you can delete variables from the Fun...
5 Monate vor | 1
what is the matlab code for ploting dispersion against wavelength (for chromatic dispersion)?
You can use gradient to calculate this problem numerically. Let me use SiO2 as an example. data = readtable("SiO2.txt"); lamb...
5 Monate vor | 1
畳み込みニューラルネットワーク(CNN)を用いて、画像から画像を生成するにはどうすればよいのでしょうか?
trainNetwork の response を見ると、イメージ回帰の response として h x w x d x c x N の 数値配列を指定することが可能なようです。 >以下のMATLABの例を用いて、[images, digits, an...
5 Monate vor | 0
How to plot the signal having convolution in frequency domain?
Look like you are dealing with the equations symbolically - I wonder if this is what you really want to do.. anyway. Note this ...
5 Monate vor | 0
| akzeptiert
What code can I use to get a signal from the image?
Taks this as an example. im = imread("coins.png"); imshow(im); if you want to convert the matrix into either row or column ve...
5 Monate vor | 0
fitnlmでのサイズ不一致によるエラーについて
fitnlm の modelfun の解説を読むと分かる通り、modelfun は入力次元数を持つ列ベクトルを返すように設定しなくてはいけません。つまり modelfun(b,x) の引数 x の次元が n であったら、(nx1) の出力を返すように設定し...
5 Monate vor | 0
R2018bで使用できていたアプリを、R2020bでも使用するためにはどうすればよいか
R2022a で コード互換性アナライザー というアプリがリリースされたので、これが一番楽かなと思いますが、R2020b 以前の機能でも同じようなことができます。codeCompatibilityReport や CodeCompatibilityAnal...
6 Monate vor | 2
| akzeptiert
数値2重積分で発生する”配列のサイズがこの演算に適合しません”がなぜ発生するのですか?
無名関数の所かなという気がします: 12 = integral2(@(u1,u2) (g12(u1,u2).^2),0,1,0,1); なら上手く行くとかないでしょうか?
6 Monate vor | 0
| akzeptiert
指定のテキストファイルを生成する方法
ひょっとしたらもう少しスマートな方法が有るかも知れませんが.... % データの用意 N = 10; X = rand(N,1,"like",1i+1); data(1:N,1) = real(X); data(1:N,2) = imag(X) ...
6 Monate vor | 0