Community Profile

# Hiro

### MathWorks

Last seen: Today Active since 2019

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

All

View badges

#### Content Feed

View by

Answered
histogram2から数値テーブルを作成したい
histcount2 を使うと良いかと思います。以下の N でテーブル（行列) を得られます。 https://jp.mathworks.com/help/matlab/ref/histcounts2.html x = randn(100,1); ...

17 days ago | 0

Answered

I = imread('handicapSign.jpg'); roi = [360 118 384 560]; ocrResults = ocr(I, roi); %ここを変更 Iocr = insertText(I,roi(1:2),ocrRes...

25 days ago | 0

Answered
ドライビングシナリオでオプティカルフローを算出する。
このあたりの道具を使えば、何とかなるのではと思います: https://www.mathworks.com/discovery/optical-flow.html https://www.mathworks.com/help/vision/ref/op...

29 days ago | 0

| accepted

Answered

ディープラーニングの話かと思いますが、可能です。 結局、特徴抽出を行っている上流側を使って、最後の所で分類にするのか、回帰にするのか、自由に出来ます。 ただ、分類より回帰の方がやる事が難易度が高いので、分類用のネットワークをスタートポイントとしてある程...

1 month ago | 0

| accepted

Answered
self service checkout machine
How about this? Is this what you expected? change = 978; % Ausie coins coins = [1 2 5 10 20 50 100 200]; numCoins = zeros(si...

1 month ago | 0

Answered

これじゃダメですか? A = [12 -11; -11 12; 8 -11] idx = A>10 A(idx) = A(idx) + 10

1 month ago | 0

Answered

こちらを見ると良いと思います https://jp.mathworks.com/help/images/morphological-dilation-and-erosion.html opening = 収縮の後、膨張　です。 英語だと、erosio...

1 month ago | 0

Submitted

Understanding the Fundamentals of Linear Regression

2 months ago | 2 downloads |

Answered
how to give value stress from excel give color in my mesh
Not sure what you want to do exactly but it seems this is an application of mesh function. As you can see (click the link), you...

2 months ago | 0

Answered
How can I draw lines between the points of traingle after the final formation. It is a formation control problem I want to make the plot as a moving graph how to make it?
If you want to draw the trajectories of the points, then comet would be a good fit. x = -pi:0.01:pi; y = sin(3*x) + 0.2*cos(4*...

2 months ago | 0

Answered
tableをpdfに保存する方法
コードを書かなくても、Live Editor の機能を使えば、そのまま pdf 出力ができます。 Live Editor を開いて % サンプル table データ filename = 'myCsvTable.dat'; % ;を無しにして ...

2 months ago | 0

Answered

Datastore を使うと、ループ無しでスッキリ書けます (Datastore) ds = tabularTextDatastore("*.xlsx",ReadSize="file"); こうすると T = ds.read() % もしくはread...

2 months ago | 1

Answered
How do I plot a 3d shape from a function?
There is a good example here. x = -2:0.25:2; y = x; if you want to visualize this , then surf(x,y,x.*exp(-x.^2 -(y').^2)) T...

2 months ago | 1

| accepted

Answered
How to label the curve instead of using legend?
How about using text instead as follows?: x = -pi:0.01:pi; y1 = cos(x); y2 = sin(x); plot(x,y1,'b-'); hold on plot(x,y2,'r-...

2 months ago | 0

| accepted

Answered
Images obtained by GAN could not be shown
I belive the lines I = imtile(extractdata( dlXGeneratedNew )); I = rescale(I); are not behaving as you would expect. The fu...

2 months ago | 0

Answered
Convert the noise signal into pixel image
Signal and Images are treated in the same way in MATLAB - they are considered as Matrices basically. In this sense, if you show...

2 months ago | 0

Answered
「検証済みモデルと、完全なモデルの交差検証有無について」
(回答1) 基本的なことですが、まず交差検証は何の為にやるのかを考えてみてください。モデルの経験誤差の (性能) の推定のためですよね。その数字を見て、他のモデルと比較を行って1つのモデルを決めます。モデルが決まれば、学習を行います。その際に、手持ちのデ...

2 months ago | 0

Answered
Eigenvalues by power method
See eig and eigs. Looks like eigs is more suitable for you though ... I suppose u represents an eigen vector but the initial p...

3 months ago | 0

Answered
export surface into iges
Does this tool serve for your purpose? igesout

3 months ago | 0

Answered
How to add a verteical pad obove and below the curve and graph style and color displays?
Solution 1: You can control the order of color by using colororder. Also, you can specify the line markers by like this. So...

3 months ago | 0

Answered
How do you calculate a correlation function in MATLAB?
If you want to calculate "auto correlation", see xcorr. You may need to devide the result by var.

3 months ago | 0

Answered
How to get and 3D matrix from 2 2D matirces?
How about the following solution using "ismember" ? % xy - 2D matrix x = [1 2 3 4 5]'; y1 = [3 2 1 4 5]'; xy = [x,y1] %yz...

3 months ago | 0

Answered
My input features for LSTM are different dimension, Is it possible to combine and train the network
No, you cannot do that I think. Why don't you conver the singular values into series data by using remat and put them under the...

3 months ago | 0

| accepted

Answered
Get Temperatures from Flir Camera in Matlab
factor of 0.04? see: https://flir.custhelp.com/app/answers/detail/a_id/3084/~/how-can-i-read-the-temperature-values-of-a-flir-u...

3 months ago | 1

Answered
How can I remove unwanted noise data., shown at the right of the red line
Define the line as a function f Given (x,y), delete the point if f(x) < y satisfies % data X = rand(100,2); x = X(:,1); y=X...

3 months ago | 0

Answered
Find the frequency vector using pwelch function
Did you pay attention to the Normalized Frequency? The Power Spectral Density is estimated on the frequency. Its unit is Rad/sa...

3 months ago | 0

Answered
how to antenna radiation plotter
Looks like polarplot was used. see: https://jp.mathworks.com/help/matlab/ref/polarplot.html?searchHighlight=polarplot&s_tid=src...

3 months ago | 0

| accepted

Answered
How can i set the plot values of a specgram.
Short Time Fourier Transform? stft(x,fs,'Window',kaiser(256,5),'OverlapLength',220,'FFTLength',512); see: https://jp.mathworks...

3 months ago | 0

Answered
Unrecognized function or variable in app designer
methods(Access == public) I suspect the access attribute was set wrongly. see: https://jp.mathworks.com/help/matlab/matlab_oop...

3 months ago | 0

Answered
Missing values in cell array/ cellfun deltes space in Strings
You could read your excel by using app. Go to MATLAB >> Home >> Import Data >> Import as table. If you want to have more contr...

3 months ago | 0