Community Profile

photo

Hiro Yoshino

MathWorks

Last seen: Today 2019 年からアクティブ

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

統計

All
  • MATLAB Flipbook Mini Hack Participant
  • 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

バッジを表示

Content Feed

表示方法

送信済み


Fundamentals of Linear Regression / 線形回帰の基礎
Understanding the Fundamentals of Linear Regression / 統計モデリングの教科書: 線形回帰モデル

6日 前 | ダウンロード 10 件 |

Thumbnail

回答済み
2重入れ子構造がある場合の線形混合効果モデル式の表記はどうすれば良いでしょうか
式と計画行列の関係 が参考になるかと思います。 階層構造が相関を表しているとして、A > B > C で、A-B の交互作用、B-C の交互作用をモデル化するのであれば、(* | A:B) のように指定することが出来ます。

16日 前 | 0

回答済み
分類器アプリ内の散布図を自分で作る方法を教えてください
scatter 関数かなと思いますが、いかがでしょうか?: a = rand(20,2); b = rand(20,2); scatter(a(:,1),a(:,2)); hold on scatter(b(:,1),b(:,2)); lege...

約1ヶ月 前 | 1

回答済み
特徴診断デザイナーで特徴量を抽出したのですが,変数名がどんな特徴を表しているのかわかりません.
https://jp.mathworks.com/help/predmaint/ref/diagnosticfeaturedesigner-app.html こちらから、"時間領域の特徴"、"時間-周波数領域の特徴" を見ていただければ、特徴量の定義 (...

約1ヶ月 前 | 0

| 採用済み

回答済み
ガウス過程回帰fitrgpで過学習を防ぐ方法
GP ではカーネルがモデルの細かさを決めるので、このあたりを調整すると過学習を抑制することができると思います。CV で最適なパラメータを見つけると良いと思います。 回帰学習機アプリ の中では、このようなハイパーパラメータの最適化も行ってくれるので、コード...

4ヶ月 前 | 0

| 採用済み

回答済み
Finding source files for Mathworks demo example
From "Copy Command" button, you can copy the following code to run: openExample('autonomous_control/AutonomousEmergencyBrakingW...

4ヶ月 前 | 0

回答済み
How execute ipython jupyter code inside MATLAB?
You can use pyrunfile to run a python file in MATLAB. Your arguments can be given to the command too.

4ヶ月 前 | 0

回答済み
フィルターの設計方法について
Live Task からフィルタを設計すると簡単ですよ。凝ったものでなければここで、カットオフでの特性や遅延等についても評価することができると思います。 線形位相応答を必要とする場合には、FIR フィルタが良いかと思います。IIR フィルタは動作が速く、...

6ヶ月 前 | 1

| 採用済み

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

7ヶ月 前 | 0

| 採用済み

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

7ヶ月 前 | 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....

7ヶ月 前 | 0

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

7ヶ月 前 | 0

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

7ヶ月 前 | 0

| 採用済み

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

7ヶ月 前 | 0

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

7ヶ月 前 | 1

| 採用済み

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

7ヶ月 前 | 0

| 採用済み

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

7ヶ月 前 | 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 ...

9ヶ月 前 | 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 ...

9ヶ月 前 | 0

| 採用済み

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

10ヶ月 前 | 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...

10ヶ月 前 | 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...

10ヶ月 前 | 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...

10ヶ月 前 | 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...

10ヶ月 前 | 0

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

10ヶ月 前 | 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)); ...

10ヶ月 前 | 0

| 採用済み

回答済み
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...

10ヶ月 前 | 1

| 採用済み

回答済み
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...

10ヶ月 前 | 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...

10ヶ月 前 | 0

| 採用済み

回答済み
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 ...

10ヶ月 前 | 0

| 採用済み

さらに読み込む