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

Answered

How to make predictions using an already-trained LSTM model?

It seems you are predicting the data based on the training data. That's why the prediction stays unchange after the end of trai...

How to make predictions using an already-trained LSTM model?

It seems you are predicting the data based on the training data. That's why the prediction stays unchange after the end of trai...

3 months ago | 1

| accepted

Answered

Integration of a function with respect to a dummy variable

f = [-0.9 -0.5 0.4 0.3 0 -0.3 -0.5 0.5] let me assume z to be: z = [0.0 1.0 2.0 3.0 4.0 5.0 6.0 7.0 8.0] and then ...

Integration of a function with respect to a dummy variable

f = [-0.9 -0.5 0.4 0.3 0 -0.3 -0.5 0.5] let me assume z to be: z = [0.0 1.0 2.0 3.0 4.0 5.0 6.0 7.0 8.0] and then ...

3 months ago | 1

Answered

Integration of a function with respect to a dummy variable

Why don't you think about using Symblic Math Toolbox? https://jp.mathworks.com/help/symbolic/index.html?s_tid=srchtitle You ca...

Integration of a function with respect to a dummy variable

Why don't you think about using Symblic Math Toolbox? https://jp.mathworks.com/help/symbolic/index.html?s_tid=srchtitle You ca...

3 months ago | 1

Answered

soft-margin SVM optimization

Are you using MATLAB or other Open Source Software? Either way, I bet there is a package for your porpose, i.e., you do not nee...

soft-margin SVM optimization

Are you using MATLAB or other Open Source Software? Either way, I bet there is a package for your porpose, i.e., you do not nee...

4 months ago | 0

Answered

What "Kernel Scale" in svm really is?

This gives you a clearer view for you: https://jp.mathworks.com/help/stats/fitcsvm.html#namevaluepairarguments Let me answer y...

What "Kernel Scale" in svm really is?

This gives you a clearer view for you: https://jp.mathworks.com/help/stats/fitcsvm.html#namevaluepairarguments Let me answer y...

4 months ago | 0

Answered

Ｄatabase Toolbox の LIVE Scriptエラーの 処理方法

こちらにJDBC data sourceの作り方など有ります： https://jp.mathworks.com/help/database/ug/configurejdbcdatasource.html 直接は関係無いですが、.mファイルでやって...

Ｄatabase Toolbox の LIVE Scriptエラーの 処理方法

こちらにJDBC data sourceの作り方など有ります： https://jp.mathworks.com/help/database/ug/configurejdbcdatasource.html 直接は関係無いですが、.mファイルでやって...

4 months ago | 1

| accepted

Answered

how to get integration of int((sin(xd)*(2*x - 2*xd))/((y - yd)^2 + ((x - xd)^2)^(1/2)), xd, 0, 1)

simplify? https://www.mathworks.com/help/symbolic/simplify-symbolic-expressions.html wonder if this is what you're looking for...

how to get integration of int((sin(xd)*(2*x - 2*xd))/((y - yd)^2 + ((x - xd)^2)^(1/2)), xd, 0, 1)

simplify? https://www.mathworks.com/help/symbolic/simplify-symbolic-expressions.html wonder if this is what you're looking for...

4 months ago | 0

Answered

genetic algorithm for rank

https://www.mathworks.com/help/gads/genetic-algorithm-options.html Check this out please - there is an option for "rank".

genetic algorithm for rank

https://www.mathworks.com/help/gads/genetic-algorithm-options.html Check this out please - there is an option for "rank".

4 months ago | 0

Answered

Can you please give me the MATLAB code for EEG signal compression using Huffman coding including Preprocessing

https://jp.mathworks.com/help/signal/ug/dct-for-speech-signal-compression.html This may help. I'm sure there are lots of exmapl...

Can you please give me the MATLAB code for EEG signal compression using Huffman coding including Preprocessing

https://jp.mathworks.com/help/signal/ug/dct-for-speech-signal-compression.html This may help. I'm sure there are lots of exmapl...

4 months ago | 1

Answered

Deploying Deep Learning model with Sequential Input as C++

We have just released 2020a and it looks sequential input layer is now included in the list. So the solution is updating your M...

Deploying Deep Learning model with Sequential Input as C++

We have just released 2020a and it looks sequential input layer is now included in the list. So the solution is updating your M...

4 months ago | 0

Answered

how to fit ellipse to an image with cylinderical shape

I am not an expert - please see the following page and hopefully there are some similar examples for you. https://jp.mathworks....

how to fit ellipse to an image with cylinderical shape

I am not an expert - please see the following page and hopefully there are some similar examples for you. https://jp.mathworks....

4 months ago | 0

Answered

Unrecognized variable that has been stated

I guess the intention of the Professor is about "work space and variables". I would reccomend to learn from the following site ...

Unrecognized variable that has been stated

I guess the intention of the Professor is about "work space and variables". I would reccomend to learn from the following site ...

4 months ago | 0

Answered

Need help in coding- Monte Carlo simulation for assessing cure against virus

If you just don't have enough basics to keep working on your work using MATLAB, then you should go to MATLAB onramp: https://jp...

Need help in coding- Monte Carlo simulation for assessing cure against virus

If you just don't have enough basics to keep working on your work using MATLAB, then you should go to MATLAB onramp: https://jp...

4 months ago | 0

Answered

Generate fitting curve from timetable plot

Curve fitting app would suit you. https://jp.mathworks.com/help/curvefit/interactive-curve-and-surface-fitting-.html You can p...

Generate fitting curve from timetable plot

Curve fitting app would suit you. https://jp.mathworks.com/help/curvefit/interactive-curve-and-surface-fitting-.html You can p...

4 months ago | 0

| accepted

Answered

Index exceeds the number of array elements, when trying to plot

Why not reampling the data to have the same length? If you have Signal Processing toolbox, then just follow the instruction: h...

Index exceeds the number of array elements, when trying to plot

Why not reampling the data to have the same length? If you have Signal Processing toolbox, then just follow the instruction: h...

4 months ago | 0

Answered

1D Regression with CNN

I skimmed through the issue - sorry if I am answering in a different direction. You should convert the 1D data into image forma...

1D Regression with CNN

I skimmed through the issue - sorry if I am answering in a different direction. You should convert the 1D data into image forma...

5 months ago | 1

| accepted

Answered

Is ksdensity based on Kolmogorov Smirnov test?

I'm sure it stands for Kernel Smoothing density estimation. I prefer Kernel Density Estimation (KDE) though. https://jp.mathwo...

Is ksdensity based on Kolmogorov Smirnov test?

I'm sure it stands for Kernel Smoothing density estimation. I prefer Kernel Density Estimation (KDE) though. https://jp.mathwo...

5 months ago | 0

Answered

How to gather data of same class, select N rows, calculate mean in CSV file

I would suggest you should use table for data analytics. The following code may help you reduce the number of lines. up to the...

How to gather data of same class, select N rows, calculate mean in CSV file

I would suggest you should use table for data analytics. The following code may help you reduce the number of lines. up to the...

5 months ago | 0

| accepted

Answered

removing data from a large matrix

This page is a good fit for you. In MATLAB, there are lots of preprocessing functions available. https://jp.mathworks.com/help...

removing data from a large matrix

This page is a good fit for you. In MATLAB, there are lots of preprocessing functions available. https://jp.mathworks.com/help...

5 months ago | 0

Answered

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));

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));

6 months ago | 0

Answered

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

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

6 months ago | 0

Answered

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

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

6 months ago | 0

Answered

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

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

6 months ago | 0

| accepted

Answered

RSA keys generation using matlab

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

RSA keys generation using matlab

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

6 months ago | 0

Answered

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

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

6 months ago | 0

| accepted

Answered

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

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

6 months ago | 0

| accepted

Answered

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

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

6 months ago | 1

Answered

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

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

6 months ago | 0

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

6 months ago | 0