Community Profile

photo

Hiro


Last seen: en dag ago

MathWorks

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

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

28 dagar 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...

28 dagar 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.

28 dagar ago | 0

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

28 dagar 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...

28 dagar 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

ungefär en månad 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....

ungefär en månad 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...

ungefär en månad 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...

ungefär en månad 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...

ungefär en månad 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 ||...

ungefär en månad 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

ungefär en månad ago | 0

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

ungefär en månad 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...

ungefär en månad ago | 1

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

ungefär en månad 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.

ungefär en månad 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...

ungefär en månad 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).

3 månader 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 ...

3 månader 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...

3 månader ago | 1

| accepted

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

3 månader ago | 1

| accepted

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

3 månader ago | 0

| accepted

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

3 månader ago | 0

| accepted

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

3 månader ago | 0

| accepted

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

3 månader ago | 0

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

3 månader ago | 0

| accepted

Answered
why does my code take so long to run?
It looks that your problem is not that complicated. Why don't you write your code without using symbolic expressions? I bet it i...

3 månader ago | 0

Answered
optimal scheduling of household appliances
This example can be used for you application. https://www.mathworks.com/help/optim/ug/optimal-dispatch-of-power-generators-solv...

3 månader ago | 0

Answered
how to make fmincon run with more others value of variable.
There seems to be something wrong with your syntax. Look at the documentation for this function with great care: https://www.ma...

4 månader ago | 0

Load more