Answered

I want to envelope the damped curve with an exponential function passing through the peak points. Can someone help?

Hi Neha You can use the function 'envelop' to obtain the envelope of the curve. I am attaching the code below: plot(t,dam...

I want to envelope the damped curve with an exponential function passing through the peak points. Can someone help?

Hi Neha You can use the function 'envelop' to obtain the envelope of the curve. I am attaching the code below: plot(t,dam...

4 months ago | 0

| accepted

Answered

Image processing handling camera temperature flucturations

Hi As the temperature of the camera introduces some noise into the images randomly, it may not be easy for us to free the ima...

Image processing handling camera temperature flucturations

Hi As the temperature of the camera introduces some noise into the images randomly, it may not be easy for us to free the ima...

4 months ago | 0

| accepted

Answered

Error in plot(t,[y x]).. can anyone help me with this code i am trying matched filter of rectangular pulse to awgn signal..firstly i am convolving these two signals ande then taking and then matching. what is wrong in this code

Hi The only error in your code is in the line 'plot(t,[y x])'. If you want to plot the signal and noise in the same subplot, ...

Error in plot(t,[y x]).. can anyone help me with this code i am trying matched filter of rectangular pulse to awgn signal..firstly i am convolving these two signals ande then taking and then matching. what is wrong in this code

Hi The only error in your code is in the line 'plot(t,[y x])'. If you want to plot the signal and noise in the same subplot, ...

4 months ago | 0

| accepted

Answered

Size of an input image in Object detection using AlexNet transfer Learning

Hi Hanish Alexnet was trained using images of size 227,227 so you need to resize your training images using the 'imresize' fu...

Size of an input image in Object detection using AlexNet transfer Learning

Hi Hanish Alexnet was trained using images of size 227,227 so you need to resize your training images using the 'imresize' fu...

4 months ago | 0

Answered

How can I compute the distance of any datapoint to the decision boundary of a SVM done with fitcsvm?

Hi Stef These links may be of help to you: <https://stats.stackexchange.com/questions/71708/how-to-find-the-distance-from-...

How can I compute the distance of any datapoint to the decision boundary of a SVM done with fitcsvm?

Hi Stef These links may be of help to you: <https://stats.stackexchange.com/questions/71708/how-to-find-the-distance-from-...

4 months ago | 0

Answered

How do I obtain the predicted values of a time series after regARIMA? I can get the graph using the econometric modeller app but I'd like to be able to see/write the syntax

Hi Daniel I think this link may be of help to you: <https://www.mathworks.com/help/econ/regarima.forecast.html> Prajit

How do I obtain the predicted values of a time series after regARIMA? I can get the graph using the econometric modeller app but I'd like to be able to see/write the syntax

Hi Daniel I think this link may be of help to you: <https://www.mathworks.com/help/econ/regarima.forecast.html> Prajit

4 months ago | 0

Answered

How to get training accuracy in bidirectional LSTM?

Hi Hany To save the training accuracy of the model you would have to write a custom output function and pass it to the parame...

How to get training accuracy in bidirectional LSTM?

Hi Hany To save the training accuracy of the model you would have to write a custom output function and pass it to the parame...

4 months ago | 0

Solved

Read a column of numbers and interpolate missing data

Given an input cell array of strings s, pick out the second column and turn it into a row vector of data. Missing data will be i...

4 months ago

Solved

Kaprekar Steps

6174 is the <http://en.wikipedia.org/wiki/6174_%28number%29 Kaprekar constant>. All natural numbers less than 10,000 (except som...

4 months ago

Answered

How to create a loop that creates a set of ARIMA models and estimates the models to give LogL results

Hi Harry A good programming approach would be to use an array to store the corresponding values in a specific index position ...

How to create a loop that creates a set of ARIMA models and estimates the models to give LogL results

Hi Harry A good programming approach would be to use an array to store the corresponding values in a specific index position ...

4 months ago | 0

Solved

Find relatively common elements in matrix rows

You want to find all elements that exist in greater than 50% of the rows in the matrix. For example, given A = 1 2 3 5 ...

4 months ago

Solved

Implement a ROT13 cipher

Replace each character in string s1 with the character that is shifted 13 positions from it (wrap back to the beginning if neces...

4 months ago

Solved

Make a Palindrome Number

Some numbers like 323 are palindromes. Other numbers like 124 are not. But look what happens when we add that number to a revers...

4 months ago

Solved

Trimming Spaces

Given a string, remove all leading and trailing spaces (where space is defined as ASCII 32). Input a = ' singular value deco...

4 months ago

Answered

How to find the indices within blocks and sort the blocks thereafter?

Hi Here's a code which will work for a size m x n matrix provided that m and n are odd values. To incorporate even values, y...

How to find the indices within blocks and sort the blocks thereafter?

Hi Here's a code which will work for a size m x n matrix provided that m and n are odd values. To incorporate even values, y...

4 months ago | 0

| accepted

Answered

状態空間モデルの逐次パラメータ推定

こんにちは このリンクがあきらさんを助けるかもしれません: <https://www.mathworks.com/help/ident/grey-box-model-estimation.html> プロジト

状態空間モデルの逐次パラメータ推定

こんにちは このリンクがあきらさんを助けるかもしれません: <https://www.mathworks.com/help/ident/grey-box-model-estimation.html> プロジト

4 months ago | 0

Answered

How to replace text in an image using the same font size?

Hi Ala Abu This MATLAB Answers link discusses this: <https://www.mathworks.com/matlabcentral/answers/252741-how-to-add-tex...

How to replace text in an image using the same font size?

Hi Ala Abu This MATLAB Answers link discusses this: <https://www.mathworks.com/matlabcentral/answers/252741-how-to-add-tex...

4 months ago | 0

Answered

Cómo utilizar fminsearch para estimar dos parámetros?

Hola Ag Puedes encontrar más información aquí. Puedes traducir la página al español. <https://www.mathworks.com/help/optim...

Cómo utilizar fminsearch para estimar dos parámetros?

Hola Ag Puedes encontrar más información aquí. Puedes traducir la página al español. <https://www.mathworks.com/help/optim...

4 months ago | 0

Answered

Why must nsamp in mskmod() be an integer?

Hi Allison I am not exactly certain why it is so, but I can share why I think that 'nsamp' must be an integer. 'nsamp' de...

Why must nsamp in mskmod() be an integer?

Hi Allison I am not exactly certain why it is so, but I can share why I think that 'nsamp' must be an integer. 'nsamp' de...

4 months ago | 1

Answered

TAh Student nicht eingeben. Kann ich das ändern??

Hi Lukas Um eine Universitätslizenz zu verwenden, sollten Sie mit der E-Mail-Adresse einer Universität verknüpft sein. Ich wü...

TAh Student nicht eingeben. Kann ich das ändern??

Hi Lukas Um eine Universitätslizenz zu verwenden, sollten Sie mit der E-Mail-Adresse einer Universität verknüpft sein. Ich wü...

4 months ago | 0

Answered

Recognition of one upper body gesture

Hi Nicolai It would be better if you have a larger training set with both positive and negative categories represented. He...

Recognition of one upper body gesture

Hi Nicolai It would be better if you have a larger training set with both positive and negative categories represented. He...

4 months ago | 0

| accepted

Answered

SimMechanics 2ndでロボット全体の重心位置の表現はできますか

今日は! このリンクはあなたに役立つかもしれません. <https://www.mathworks.com/matlabcentral/answers/102420-how-can-i-find-the-center-of-gravity-of...

SimMechanics 2ndでロボット全体の重心位置の表現はできますか

今日は! このリンクはあなたに役立つかもしれません. <https://www.mathworks.com/matlabcentral/answers/102420-how-can-i-find-the-center-of-gravity-of...

4 months ago | 0

Answered

Creating a matrix of marginal distributions from a matrix of joint distributions

Hi The following code will help you perform the steps you need: a=1;b=2;c=3;d=4;e=5;f=6;g=7;h=8;i=9;j=10;k=11;l=12; A=[...

Creating a matrix of marginal distributions from a matrix of joint distributions

Hi The following code will help you perform the steps you need: a=1;b=2;c=3;d=4;e=5;f=6;g=7;h=8;i=9;j=10;k=11;l=12; A=[...

4 months ago | 0

Answered

Writing a live script that contains return-statements. Exported PDF empty and cannot be opened.

Hi Santtu This issue was reported earlier for MAC devices and there are workarounds to get around this: 1. Try increasing ...

Writing a live script that contains return-statements. Exported PDF empty and cannot be opened.

Hi Santtu This issue was reported earlier for MAC devices and there are workarounds to get around this: 1. Try increasing ...

4 months ago | 1

Answered

Plotting multiple vectors from a function

Hi Rachna As Rik mentioned, you need to use plot3 when you have three variables 'x', 'y' and 'z'. I presume that you have man...

Plotting multiple vectors from a function

Hi Rachna As Rik mentioned, you need to use plot3 when you have three variables 'x', 'y' and 'z'. I presume that you have man...

4 months ago | 0

Answered

Finding the wanted linear combination of two parameters

Hi Markus Taking your example of c=100 and idx=106, you wish to find the values of 'a' and 'b' such that value of maximum sup...

Finding the wanted linear combination of two parameters

Hi Markus Taking your example of c=100 and idx=106, you wish to find the values of 'a' and 'b' such that value of maximum sup...

4 months ago | 0

Answered

Plot with a lag, Part 2

Hi Note that the length of vectors should be the same in order to apply the function 'plot'. So as you require to plot a del...

Plot with a lag, Part 2

Hi Note that the length of vectors should be the same in order to apply the function 'plot'. So as you require to plot a del...

4 months ago | 0

| accepted

Solved

Find the two-word state names

Given a list of states, remove all the states that have two-word names. If s1 = 'Alabama Montana North Carolina Vermont N...

6 months ago

Answered

How do you pass a variable from a GUI into a simulink model workspace variable?

Hi Adam I think the following link might be of help to you: <https://www.mathworks.com/matlabcentral/answers/110962-passin...

How do you pass a variable from a GUI into a simulink model workspace variable?

Hi Adam I think the following link might be of help to you: <https://www.mathworks.com/matlabcentral/answers/110962-passin...

6 months ago | 0