Community Profile

# Hiro Yoshino

### MathWorks

114 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

how do you separate time data from signal data, plot the signal, followed by the removal of the trend without using the inbuilt ‘detrend’ function
well .... how about removing the mean to begin with? plot(t, a - mean(a));

9 days ago | 0

2nd Order ODE by ode45
You can walk through this: https://www.mathworks.com/help/matlab/ref/ode45.html I guess this is what you work on - read, under...

9 days ago | 0

FFT to covert time domain to frequency domain
Take a look at this page: https://www.mathworks.com/help/matlab/ref/fft.html where you can find some examples that you can uti...

9 days ago | 0

Newton-Raphson iteration method in Matrices
I had a quick look though ... you are having lots of errors. MATLAB has a fantastic bug finder as you can see. The areas hi...

9 days ago | 0

| accepted

RSA keys generation using matlab
Hope this helps you: https://www.mathworks.com/matlabcentral/fileexchange/53457-rsa-public-key-encryption-and-signing-32bit

9 days ago | 0

Index position 2 exceeds array bounds
I had a look at it quickly - you were obviously failing in importing the pressure and the flowrate. xlsread(filename, 3, hRange...

9 days ago | 0

| accepted

How do I make my variables save from my function?
You're doing well! Try this: x = [1 1]; [f, grad, gradTwo] = Rosen(x) You should prepare the three variables that recieve t...

9 days ago | 0

| accepted

Do we have the facility to create a network topology for cloud and fog environment in matlab
I am not an expert in this filed though I have ever introduced this product to a customer who wanted to model a rail network. h...

9 days ago | 1

How to place a uicalendar inside a panel
How about using AppDesigner? There is a function available that looks able to meet your want. https://jp.mathworks.com/help/mat...

9 days ago | 0

How can I take out months rows from each year.
I guess your date is not read as string. tableData = readtable('yourExcel.xlsx'); tableData.Time = string(tableData.Time); Th...

18 days ago | 0

How to position two figures on one app-designer gridlayout position?
app.UIAxes.Visible = 'off'; Try this. It worked with my app where a push botton call this line so it can disappear.

18 days ago | 0

Discretize countries into regions
One thought would be .... clustering algorithms. How about using geographical data (longitude and latitude) as an input vector ...

18 days ago | 0

how to derive 1D heat conduction
https://jp.mathworks.com/products/pde.html?s_tid=srchtitle PDE toolbox would help you out!

18 days ago | 0

How can I shade confidence intervals on a loglog plot?
x = -10:0.1:10; % between intersections yy1 =x.^2; %lower function yy2 = -(x.^2-16); % upper function x = [x,x]; % rep...

18 days ago | 0

How can I take out months rows from each year.
d = ['190101'; '190201'; '190301']; % sample data d_datetime = datetime(d, 'InputFormat', 'yyMMdd'); % change format to datet...

18 days ago | 1

Matlab: a function y where y is the 𝑛-th Chebyshev polynomial of the first kind evaluated at xy is the 𝑛-th Chebyshev polynomial of the first kind evaluated at xy is the 𝑛-th Chebyshev polynomial of the first k
https://jp.mathworks.com/matlabcentral/fileexchange/56566-chebyshev-polynomial I came across this but not sure if it works.

18 days ago | 0

Why matlab crashes when I try to use a numpy Python package? (2019a)
https://www.youtube.com/watch?v=aJGmnPfJBuo Have you ever tried this ? - calling MATLAB from the anaconda prompt?

21 days ago | 0

Why matlab crashes when I try to use a numpy Python package? (2019a)
Read the documentation for R2019a. You might have counted on the latest. It might be a cause of the problem. Sometimes, there...

22 days ago | 0

how to plot smooth line plot?
How about increasing the number of data by using interpolation?: https://jp.mathworks.com/help/matlab/ref/interp1.html?s_tid=do...

23 days ago | 0

Clustering based on threshold values.
There are various methods available:https://jp.mathworks.com/discovery/cluster-analysis.html

23 days ago | 0

Clustering based on threshold values.
Is this a question about how to classify the data based on threshold? if condition "classification description" else ...

24 days ago | 0

How to find rng No. of a trained network ?
You should have taken a note or fixed the seed number before the training. As far as I know, there is no ways to find out what ...

24 days ago | 1

MATLAB code for flood model
You should define your (mathematical expression) model first, then code follows. What kind of model do you want to convert into...

24 days ago | 1

Phase Shift between 0 and pi
I wonder if you have a good understanding on FFT :-) Remember that the signals are discrete and thus the m shift in the time do...

24 days ago | 0

How to train neural network using newff with a custom loss function?
Which version are you using? Looks like there is no such a function. This might be a help: https://www.mathworks.com/matlabcen...

24 days ago | 0

Fourier Transform: IFFT Not Giving Original Image -- All Values Off By Same Constant
Why not using fft2?: https://jp.mathworks.com/help/matlab/ref/fft2.html I would say it is educational to write it from scratch...

24 days ago | 0

Creating a simple 2D contour plot from data files(xlsx or txt).
Here the function for 'contour': https://jp.mathworks.com/help/matlab/ref/contour.html?s_tid=doc_ta Give me detail if possib...

24 days ago | 0

How do I find if a value exists already in cell array's column, and then select the column & row to store some output data based on whether its existing or new?
There are many useful functions for preprocessing the data: https://jp.mathworks.com/help/matlab/preprocessing-data.html?s_tid=...

24 days ago | 0

| accepted

Why matlab crashes when I try to use a numpy Python package? (2019a)
This might be useful: https://jp.mathworks.com/matlabcentral/answers/410406-import-numpy-to-matlab

24 days ago | 0