Community Profile

# Hiro Yoshino

### MathWorks

73 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 Yoshino's Badges

View details...

Contributions in
View by

Answered
How to make predictions using an already-trained LSTM model?
I took a look at your script. in the line 131, you actually update the network together with getting the prediction out of it: ...

5 days ago | 0

Answered
how to plot psd versus frequency
[pxx, w] = periodogram(xx); gives you the PSD (pxx) and the normalized frequency (w). If you are falimiar with the theory, you...

5 days ago | 0

Answered
Matlab function trainNetwork doesn't generate training progress plot
How about running this script outside of the function? see what will happen?

5 days ago | 0

Answered
How cal i paralle my source code its too long and take time to run?
if you have parallel computing toolbox, this must be the best option to take. https://www.mathworks.com/help/parallel-computing...

6 days ago | 0

Answered
How do I get this to display the maximum value of an array?
You should use the built-in max function: https://www.mathworks.com/help/matlab/ref/max.html But if you really wanted it, it...

6 days ago | 0

Answered
Mean of 3rd dimension
A = [1 2 3; 4 5 6; 7 8 9]; A(:,:,2) = [10 11 12; 13 14 15; 16 17 18]; A(:,:,3) = [19 20 21; 22 23 24; 25 26 27]; A(:,:,3) = [...

6 days ago | 0

| accepted

Answered
what is wrong with this code
if abs((x(i+1)-x(i)))<=0.00000001 This condition is less likely to be met ... I think.

6 days ago | 0

| accepted

Answered
how to make a boxplot of z(x)?
check up how to use the function: https://www.mathworks.com/help/stats/boxplot.html?requestedDomain= boxplot(temperature, heig...

6 days ago | 0

Answered

T.Lengthがゼロではないインデックスを抽出して、区間を限定しながら、上記の手法をやってみてはどうでしょうか？ ループか何かで回しながらやると良いのかな？と思います。私なら… idx_Length_exist = find(strlength(T....

12 days ago | 0

Answered
How to match two matrices based on two keys?
You should read this first of all. The script below worked for me where "DOY" and "UT" were used as keys: load("matlab.mat"); ...

12 days ago | 0

Answered
Can I have an explanation why my graph is plotting in a weird way?
Looks like you're having some missing data, "NaN". Why don't you try checking your data first?

12 days ago | 0

Answered
How to fit data into pre-determined clusters?
How about reading this?: https://www.mathworks.com/help/stats/kmeans.html?searchHighlight=kmeans&s_tid=doc_srchtitle I dont re...

12 days ago | 0

Answered
combining two neural networks in one bigger network
How about this?: https://www.mathworks.com/matlabcentral/answers/497749-avoid-training-certain-neurons#answer_407422?s_tid=prof...

12 days ago | 0

Answered

(x, y)データが入ったtableデータを用意します (variable name は x, yとかにします) linear_model = fitlm(table, "y~x"); plot(linear_model) で直線がピッと引かれます。...

12 days ago | 1

Answered

いくつか誤解があるようなので、ご助言差し上げます。 (1) まず、画像も数字データです！行列的な形で数字が入っているので、それをベクトルっぽくすればあやめデータのようになります。まず、そのあたりのデータの感じをご自身の目で見て確認すると良いかなと思い...

13 days ago | 0

Answered

13 days ago | 0

Answered

あやめデータと同じデータフォーマット（テーブル型）にして、cvpartitionすれば良いのでは？ すみません、疑問点があまり理解できていません…

13 days ago | 0

Answered
Data import from excel file with timestamp
Do you like GUI? How about using "import data" button from the ribbon. You can import your file via GUI as shown below: Y...

13 days ago | 0

| accepted

Answered
Why are some characters chopped off on the bottom in plots?
figure; plot([0,1],[0,1],[0,1],[0,1]) set(gca,'fontsize',18) legend('nissio', 'pop.'); Mine did work well with R2019b.

13 days ago | 0

Answered

ディープラーニングの場合はあまりやることは有りません。 基本的にデータ数が少ない場合に過学習を抑える目的でやります。DLはデータがそもそも大量に必要なのであまり必要がないのと、確率的勾配法アルゴリズムは言ってみれば、毎回違うデータで学習をやっているような...

14 days ago | 2

| accepted

Answered
dicomの読み込みについて
https://jp.mathworks.com/help/images/ref/im2single.html このあたりが参考になるかと思います。

14 days ago | 0

Answered
CAM/Grad-CAMといった判別の可視化について
https://jp.mathworks.com/help/deeplearning/ug/gradcam-explains-why.html?searchHighlight=grad%20cam&s_tid=doc_srchtitle こちらのリンク先...

14 days ago | 1

| accepted

Answered
Image Classification Using SVM Classifer
It is hard for you to tell if the features you extracted are good or bad. ML algorithms will tell you. Generally speaking, De...

14 days ago | 1

Answered
How to remove the previous installation of MATLAB mac
What I did last week was just throw it into the bin. It worked.

14 days ago | 0

Answered
FINDING FREQUENCY FROM FFT PLOT
Try this?: % P fft power % F fft frequency idx = (P == PowerThreshold); % detect the indices of the power that match the thre...

14 days ago | 0

Answered
GoogLeNetのバージョンナンバーは？
Documentationの下の方にネタ元が書いてあります。 MathWorks Documentation

14 days ago | 2

| accepted

Answered
How to do average of different arrays of a matrix?
Stephen Cobeldick is right. Try this: % X --> 3490 x 63 matrix X = reshape(X, 5, 63, 698); X = mean(X); X = reshape(X, 698,...

14 days ago | 0

| accepted

Answered
Matrix operator error in matlab2019a
As it said, have you tried this one?: To perform elementwise multiplication, use '.*'. Imagine that you want to multiply/dev...

14 days ago | 0

Answered
How to calculate double integral of a circular area?
You may want to use the indices: radius = 0.5; idx = sqrt(X.^2+Y.^2) < radius; This way, you can extract the elements of A ...

15 days ago | 0

Answered
Why is different rng(1) rng(2) rng(3) in K means clustering?
Yes, you are correct. Seed is a general terminology in computational sciences - https://en.wikipedia.org/wiki/Random_seed

16 days ago | 0

Load more