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

Answered

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

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

7 days ago | 0

Answered

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.

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.

7 days ago | 0

Answered

Discretize countries into regions

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

Discretize countries into regions

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

7 days ago | 0

Answered

how to derive 1D heat conduction

https://jp.mathworks.com/products/pde.html?s_tid=srchtitle PDE toolbox would help you out!

how to derive 1D heat conduction

https://jp.mathworks.com/products/pde.html?s_tid=srchtitle PDE toolbox would help you out!

7 days ago | 0

Answered

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

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

7 days ago | 0

Answered

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

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

7 days ago | 1

Answered

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.

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.

7 days ago | 0

Answered

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?

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?

11 days ago | 0

Answered

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

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

12 days ago | 0

Answered

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

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

12 days ago | 0

Answered

Clustering based on threshold values.

There are various methods available:https://jp.mathworks.com/discovery/cluster-analysis.html

Clustering based on threshold values.

There are various methods available:https://jp.mathworks.com/discovery/cluster-analysis.html

12 days ago | 0

Answered

Clustering based on threshold values.

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

Clustering based on threshold values.

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

13 days ago | 0

Answered

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

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

13 days ago | 1

Answered

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

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

13 days ago | 1

Answered

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

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

13 days ago | 0

Answered

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

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

13 days ago | 0

Answered

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

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

13 days ago | 0

Answered

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

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

13 days ago | 0

Answered

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

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

13 days ago | 0

| accepted

Answered

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

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

13 days ago | 0

Answered

For Loop /Array question

How about this?: X = zeros(50, 50); [m, n] = size(X); % m x n = 50, 50 for i = 1:m % Row for j = 1:n % Column ...

For Loop /Array question

How about this?: X = zeros(50, 50); [m, n] = size(X); % m x n = 50, 50 for i = 1:m % Row for j = 1:n % Column ...

13 days ago | 0

| accepted

Answered

Running a script that produces a value more than once then storing the value each time into a vector

I agree with Mohammad. Here's the idea: dataStoringVector = zeros(1,10); % Initialization for i = 1:10 calcResult = i + ...

Running a script that produces a value more than once then storing the value each time into a vector

I agree with Mohammad. Here's the idea: dataStoringVector = zeros(1,10); % Initialization for i = 1:10 calcResult = i + ...

13 days ago | 0

| accepted

Answered

How to solve integration function with limit and get the values between the limit ?

How about using Symbolic Math Toolbox? https://www.mathworks.com/help/symbolic/examples/integration.html

How to solve integration function with limit and get the values between the limit ?

How about using Symbolic Math Toolbox? https://www.mathworks.com/help/symbolic/examples/integration.html

17 days ago | 0

Answered

Making a map in matlab

I bet either geoplot or geoscatter is the one for you. https://www.mathworks.com/help/matlab/ref/geoplot.html?requestedDomain= ...

Making a map in matlab

I bet either geoplot or geoscatter is the one for you. https://www.mathworks.com/help/matlab/ref/geoplot.html?requestedDomain= ...

17 days ago | 0

Answered

How can i distribute plot markers normally?

Whad do you mean by normally?

How can i distribute plot markers normally?

Whad do you mean by normally?

19 days ago | 0

| accepted

Answered

Nonlinear data-fitting

I just wonder if this is a linear model? (1) Is b a coefficient vector? (2) Do you need to estimate "a" too? if (1) yes, (2...

Nonlinear data-fitting

I just wonder if this is a linear model? (1) Is b a coefficient vector? (2) Do you need to estimate "a" too? if (1) yes, (2...

19 days ago | 0

Answered

I can not use randomAffine2d function in matlab R2019a. How can I import to matlab?

If you go to the bottom of the page (https://www.mathworks.com/help/images/ref/randomaffine2d.html?requestedDomain=), you can ...

I can not use randomAffine2d function in matlab R2019a. How can I import to matlab?

If you go to the bottom of the page (https://www.mathworks.com/help/images/ref/randomaffine2d.html?requestedDomain=), you can ...

19 days ago | 0

Answered

書き方がわかりません

まずこちらから https://jp.mathworks.com/help/matlab/matlab_prog/conditional-statements.html どうぞ！

書き方がわかりません

まずこちらから https://jp.mathworks.com/help/matlab/matlab_prog/conditional-statements.html どうぞ！

20 days ago | 0

Answered

Formation of higher dimensional subspace clusters

I can be your help though, I don't quite get you. Let me ask you: do you have a good understanding on DBSCAN in the first place...

Formation of higher dimensional subspace clusters

I can be your help though, I don't quite get you. Let me ask you: do you have a good understanding on DBSCAN in the first place...

20 days ago | 0

| accepted