Community Profile

photo

Hiro


Last seen: 4 days ago

MathWorks

176 total contributions since 2019

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

Hiro's Badges

  • 6 Month Streak
  • First Review
  • Knowledgeable Level 3
  • Revival Level 2
  • First Answer

View details...

Contributions in
View by

Answered
matrix manipulation - smoothen the data
replace the duplicated number with NaN or anything somehow. interpolate the data linearly for duplication unique function ma...

25 days ago | 0

Answered
Deviation of the tracked position from the ground truth in Tracking
This may help you out: https://jp.mathworks.com/help/fusion/ug/introduction-to-tracking-metrics.html Introduction of Tracking ...

25 days ago | 1

| accepted

Answered
how to transform t_value to p_value ?
I did not walk through your script though, I would use t-distribution curve directly. tcdf function is what you are looking for...

25 days ago | 0

Answered
Getting blank plots in matlab
figure; subplot(3,1,1); plot(th7,th6,'g','linewidth',2);grid xlabel('{ \theta_{7}} [deg]'); (th7, th6) is a point - try th...

2 months ago | 0

Answered
Cross entropy error computation
I believe that can be easier: the function "classify" returns the label together with the probabilities for all the categories....

2 months ago | 0

Answered
Forecast for Reactive Power (HELP PLEASE!!!)
It seems you just copied everything from the documentation and changed the input data. I am just wondering if the training opti...

2 months ago | 0

Answered
How to solve this problem
This sounds similar to this issue. Can you download the file? if it possible you can install the downloaded file later on.

2 months ago | 0

Answered
Filling in multidimensional array efficiently
repmat may solve your issue - check up the link: repmat function

2 months ago | 0

Answered
Is it possible to run specific lines from a different script?
You need to make the script as function and add the directory of the script to your path as follows: addpath(genpath("different...

2 months ago | 0

Answered
2D plote when x axis and y axis intersect at origin
Box on/off may work for you. https://jp.mathworks.com/help/matlab/ref/box.html

2 months ago | 0

Answered
Really slow to open variables
R2020b has some updates. The most recent one was updates 3. You should update your MATLAB then see if it mitigates the problem....

2 months ago | 0

Answered
Plot a 2D ,with accordance to the distance between the points
I hope I can give you some guide: s = A(:,1); t = A(:,2); weight = A(:,3); G = graph(s,t,weight); plot(G, 'EdgeLabel', G.Ed...

2 months ago | 0

| accepted

Answered
Who can I use GPU to speed up my Matlab code?
https://jp.mathworks.com/company/newsletters/articles/accelerating-matlab-algorithms-and-applications.html Please take a look a...

2 months ago | 0

Answered
optimizing the steady state temperature of an MSMPR
I am not fully following your code but if you are using MATLAB R2020b (the latest), you should have "Task" in live editor. From...

2 months ago | 0

Answered
How can I fix this iteration script
All you need is add one more restriction on the top of the "while" loop. it = 0; % Počet iterácií while max(abs(U-UU))>eps ||...

2 months ago | 0

Answered
Calibrating the camera of smartphone
I suppose this one helps you out: https://jp.mathworks.com/help/vision/ug/single-camera-calibrator-app.html

3 months ago | 0

Answered
How to re-enable grayed out tool buttons?
Have you tried "dbquit"? https://jp.mathworks.com/help/matlab/ref/dbquit.html

3 months ago | 0

Answered
How to plot two vector solutions and relative error for 2-norm vector?
Does this fit to what you're looking for? https://jp.mathworks.com/matlabcentral/fileexchange/7470-plot-2d-3d-vector-with-arrow...

3 months ago | 1

| accepted

Answered
Modifying legend entries in a figure
(1) Imagine that you've got 3 plots: yourplots = get(gca, 'children'); legend(yourplots([3 1 2]), {'3', '1', '2'}); you can s...

3 months ago | 0

Answered
matrix 1x3 as input for testing data after train the model in classification learner
yfit = FineKNN.predictFcn(testing); You should use this instead.

3 months ago | 0

Answered
Power Spectral Density from Time Domain Signal
There has been an improvement in that function: https://jp.mathworks.com/help/msblks/release-notes.html?s_cid=doc_ftr You shou...

3 months ago | 0

Answered
How can I determine if a matlab app is running as a web app?
Web apps run in your browser and stand-alone app opens your system window(s) and run in it (them).

4 months ago | 0

Answered
memory pca vs pcacov
In PCA, your matrix (p x q) will be once converted into the variance-covariance matrix (q x q). This would reqiure huge memory ...

4 months ago | 0

Answered
How do I make a function to make calculations within my matrix?
It seems like you have limited experience with MATLAB before? You should begin with MATLAB onramp (click here). I guess table w...

4 months ago | 1

| accepted

Answered
1-classSVM の異常スコアについて
Kentaさんのおススメのカーネル多変量解析は非常に良い本です! 流石です。 カーネル法を理解している、representer定理とか分かるという場合なら、当該書籍の該当ポイントを読めば「なるほどね」ということになりますが、最初から読み始めてP107のo...

4 months ago | 1

| accepted

Answered
離散行動を複数持つQ関数の作成
rlFiniteSetSPec の引数はInputの数では無く、実際に取り得る値を指定します actionが1つならば、それが取り得る離散値をベクトルで渡します actionが複数ならば、cellを使ってあり得る組み合わせのベクトルを渡します htt...

4 months ago | 0

| accepted

Answered
強化学習におけるエピソード数の変数としての取得方法
train関数を使って学習させる場合は、episodeから都度変更することは出来ないと思われます。 agentOptions.EpsilonDecay % 減衰率 agentOptions.EpsilonMin % 最小のepsilon値 で非線...

4 months ago | 0

| accepted

Answered
イメージを2Dガウス関数で曲面近似する方法
思い当たる点: F の引数 x_data, y_data --> [x_data, y_data] としては? zはFと同じ次元数に揃えないとダメです

4 months ago | 0

| accepted

Answered
関数の回転の仕方
回転行列を考えれば直ぐです。 これは複素数の回転から直ぐに導けますが、こちらに一応書いておきます。 あとは、このようなツールもあります https://jp.mathworks.com/help/phased/ref/rotx.html

4 months ago | 0

Answered
回帰学習における外れ値の置き換え
LiveEditorを開いて、そこからライブタスクを探してみてください。 https://jp.mathworks.com/help/matlab/preprocessing-data.html?s_tid=CRUX_lftnav 前処理関係の各種タス...

5 months ago | 0

| accepted

Load more