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

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

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

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

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

1 day 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 days 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...

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

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

10 days 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ü...

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

11 days ago | 0

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

11 days 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=[...

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

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

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

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

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

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

1 month ago | 0

Answered

how to write the code for, RoI eye is obtained by cropping eye area based on the central point of the eye.

Hi Vineesha As you wish to crop the central region of the eye in the image, these MATLAB answers link might help: <https:/...

how to write the code for, RoI eye is obtained by cropping eye area based on the central point of the eye.

Hi Vineesha As you wish to crop the central region of the eye in the image, these MATLAB answers link might help: <https:/...

1 month ago | 0

Answered

Do I create my own filter for dual tree discrete wavelet transform?

Hi Soo I am not sure as to what your requirement is, but this MATLAB Answers link speaks about implementation of Dual Tree Wa...

Do I create my own filter for dual tree discrete wavelet transform?

Hi Soo I am not sure as to what your requirement is, but this MATLAB Answers link speaks about implementation of Dual Tree Wa...

1 month ago | 0

Answered

Can someone explain to me the meaning of these numbers is this line of code?

Hi Nathan I think the documentation of the function 'fullyConnectedLayer' explains this accurately. 'WeightLearnRateFactor...

Can someone explain to me the meaning of these numbers is this line of code?

Hi Nathan I think the documentation of the function 'fullyConnectedLayer' explains this accurately. 'WeightLearnRateFactor...

1 month ago | 1

Answered

Write a script that will start with a rounded rectangle.

Hi Jabari This may not be exactly what you need, but I'm sure the following code can motivate you to write the code for your ...

Write a script that will start with a rounded rectangle.

Hi Jabari This may not be exactly what you need, but I'm sure the following code can motivate you to write the code for your ...

1 month ago | 0

Answered

Write a function ball that calculates the trajectory of a volleyball in 2 dimensions numerically using the Euler method

Hi Munther Check out this code: clear x,y,theta,u,n,g,h,u0; x(1) = 0; y(1) = 0; g = 9.81; h = 5; u0 = 80; theta = pi ...

Write a function ball that calculates the trajectory of a volleyball in 2 dimensions numerically using the Euler method

Hi Munther Check out this code: clear x,y,theta,u,n,g,h,u0; x(1) = 0; y(1) = 0; g = 9.81; h = 5; u0 = 80; theta = pi ...

1 month ago | 0

Answered

Significance of cross-validation in tuning weights in CNN

Hi Venkat The validation set is separate from the training set, and hence they do not influence the filter-weights. The v...

Significance of cross-validation in tuning weights in CNN

Hi Venkat The validation set is separate from the training set, and hence they do not influence the filter-weights. The v...

1 month ago | 0

| accepted

Answered

I need a loop for an unknown amount of variables

Hi Christina I am attaching a code fragment which would help you: data=xlsread('bank_data.xlsx') accounts={'1','2','3...

I need a loop for an unknown amount of variables

Hi Christina I am attaching a code fragment which would help you: data=xlsread('bank_data.xlsx') accounts={'1','2','3...

1 month ago | 0

Solved

Volume of a Parallelepiped

Calculate the volume of a Parallelepiped given the vectors for three edges that meet at one vertex. A cube is a special case ...

1 month ago

Solved

Circumscribed circles

Given the lengths of the 3 sides of a triangle, output the radius of the circumscribed circle. Example: [3 4 5] -> 2.5

1 month ago

Solved

Calculate the area of a triangle between three points

Calculate the area of a triangle between three points: P1(X1,Y1) P2(X2,Y2) P3(X3,Y3) these three points are the vert...

1 month ago