Community Profile

# Hiro Yoshino

### MathWorks

Last seen: Today Attivo dal 2019

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

Professional Interests:

All

#### Content Feed

Visto da

Risposto

こんな感じでどうでしょうか？ I = imread("DSCF0009.JPG"); imshow(I) %トリミング I_Trim = imcrop(I,[0 0 3072 1500]); imshow(I_Trim) %しきい値のローカ...

7 giorni fa | 0

| accettato

Risposto
How to clear workspace from a function?
You should understand Base and Function Workspaces. Note that they are different. One way you can delete variables from the Fun...

11 giorni fa | 1

Risposto
what is the matlab code for ploting dispersion against wavelength (for chromatic dispersion)?
You can use gradient to calculate this problem numerically. Let me use SiO2 as an example. data = readtable("SiO2.txt"); lamb...

circa un mese fa | 1

Risposto

trainNetwork の response を見ると、イメージ回帰の response として h x w x d x c x N の 数値配列を指定することが可能なようです。 >以下のMATLABの例を用いて、[images, digits, an...

circa un mese fa | 0

Risposto
How to plot the signal having convolution in frequency domain?
Look like you are dealing with the equations symbolically - I wonder if this is what you really want to do.. anyway. Note this ...

circa un mese fa | 0

| accettato

Risposto
What code can I use to get a signal from the image?
Taks this as an example. im = imread("coins.png"); imshow(im); if you want to convert the matrix into either row or column ve...

circa un mese fa | 0

Risposto
fitnlmでのサイズ不一致によるエラーについて
fitnlm の modelfun の解説を読むと分かる通り、modelfun は入力次元数を持つ列ベクトルを返すように設定しなくてはいけません。つまり modelfun(b,x) の引数 x の次元が n であったら、(nx1) の出力を返すように設定し...

circa un mese fa | 0

Risposto
R2018bで使用できていたアプリを、R2020bでも使用するためにはどうすればよいか
R2022a で コード互換性アナライザー というアプリがリリースされたので、これが一番楽かなと思いますが、R2020b 以前の機能でも同じようなことができます。codeCompatibilityReport や CodeCompatibilityAnal...

circa un mese fa | 2

| accettato

Risposto

circa un mese fa | 0

| accettato

Risposto

ひょっとしたらもう少しスマートな方法が有るかも知れませんが.... % データの用意 N = 10; X = rand(N,1,"like",1i+1); data(1:N,1) = real(X); data(1:N,2) = imag(X) ...

circa un mese fa | 0

Risposto
fitrnetの学習反復回数について
ニューラルネットワークの学習は過学習を防ぐ為に、早期打ち切りを行います。デフォルトでは、6回検証の損失を上回ると過学習と判定して、以降の無駄だと考えられる学習を打ち切ります。 もし上限まで実行したいのであればこの6回を増やせば良いという事になります。Va...

circa 2 mesi fa | 0

Risposto
Does syntax checking support undefined variables?
MATALB automatically identifies problems. Debugging features help you diagnose specific issues, see as follows : Debugging and...

circa 2 mesi fa | 1

Risposto
Save .fig and .jpg to folders selected earlier
I would add some more code in the MatlabFigureSaveLocationButtonPushed function as follows: saveFileName = "myFileName"; savef...

circa 2 mesi fa | 1

Risposto
the error of 'Matlab can only run a file with a valid name'
Please make sure you have that file on the PATH or in the current working directory. In the case the file exist somewhere else ...

circa 2 mesi fa | 1

Risposto

circa 2 mesi fa | 1

| accettato

Risposto
LSTMネットワークが過学習を起こしているときの対応
<< 過学習について>> 過学習というのは、"ここにあるように" 訓練誤差が小さくなって行き、汎化誤差が大きくなっていっている状態を指します。状況について一般的な解釈をここではさせていただきます： 損失値が小さくなり、その後横ばい: 学習が進んでいませ...

2 mesi fa | 0

Risposto
while and for loop
Let me remove the original idea as I did not think it was a homework ... sorry. input("msg") is useful. You can use it.

3 mesi fa | 0

Risposto
Pressure Intensifier, The example shows how to model, parameterize, and test a pressure intensifier in examples section of simulink
Of course yes. Why don't you try this: which sscfluids_pressure_intensifier -all If this returns the path to the code, it mea...

3 mesi fa | 0

Risposto
I want to plot selected data from rows and columns
Let me use the ulr info like @KSSV @Torsten did!! Here you are: data = readtable("https://www.mathworks.com/matlabcentral/answ...

3 mesi fa | 0

Risposto
Pressure Intensifier, The example shows how to model, parameterize, and test a pressure intensifier in examples section of simulink
I wonder if you have the corresponding Toolbox; in this case it is Simulink Fluid. Check and see if Simulink Fluid is available...

3 mesi fa | 0

Risposto

3 mesi fa | 3

| accettato

Risposto
predictAndUpdateState のオプションに "MiniBatchSize" というオプションがあります。このデータ数の単位で処理を実行します。デフォルトのサイズは 128 個です。この場合だと net = predictAndUpdate...

3 mesi fa | 0

| accettato

Risposto
runge kutta for 2 order ODE
Let us assume that and re-write the problem as follows: Let's transform it so it can be used in an ode setting: These a...

3 mesi fa | 0

Risposto
is matlab 'fit' function changing behavior ?
There are actually many "fit" functions avaiable within MATLAB. MATLAB determines which "fit" function to use based on the type...

3 mesi fa | 0

| accettato

Risposto
Take number from excel in App Designer
readcell returns a "cell" value but not a double scalar. This is where you made a mistake. Let me convert cell to double. Firs...

3 mesi fa | 0

| accettato

Risposto
Adjust the color bar of all thermal images to be consistent
You can control the range of colorbar with clim: [X,Y] = meshgrid(-5:.5:5); Z = X.^2 + Y.^2; tiledlayout(1,2) % Left plo...

3 mesi fa | 0

Risposto

3 mesi fa | 1

| accettato

Risposto
Docking button freezes Matlab R2022B
Hi, I am wondering if your OS meets the system requirement? https://www.mathworks.com/support/requirements/matlab-mac.html It ...

3 mesi fa | 0

Risposto
How Can I Plot Multiple Points Without Mathlab Joining Them?
I would suggest that you should use Interactive Live Task for Plot. Even if you are not familiar with the syntaxes, you can eas...

3 mesi fa | 0

Risposto
The easiest way to learn matlab?
I would reccomend the official training courses available both online and instructor-led manner. https://www.mathworks.com/lear...

3 mesi fa | 0