Submitted

get_active_features_licenses

Easy understanding which features/toolboxes installed for various MATLAB versions on your computer

4 months ago | 4 downloads |

Answered

How to call a function with arguments containing "." in "run" function?

Hi @Mudit Garg. You are correct: Matlab tries to look for a program with this name. A simple solution to overcome this issue ...

How to call a function with arguments containing "." in "run" function?

Hi @Mudit Garg. You are correct: Matlab tries to look for a program with this name. A simple solution to overcome this issue ...

4 months ago | 1

| accepted

Answered

3D plot matrices

Hi @Ludwig Attached is my solution; % Power levels: row1 % temperatures : row2 M100 = [19.8 29.305 38.425 48.37; 4.9 7.4 10...

3D plot matrices

Hi @Ludwig Attached is my solution; % Power levels: row1 % temperatures : row2 M100 = [19.8 29.305 38.425 48.37; 4.9 7.4 10...

4 months ago | 0

Answered

string joining without inverted commas and variable pass in string.

Hi @Paramjit Yadav 1st - use a single 'postrophe': ' instead of " I have created a simple function that returnes the valu...

string joining without inverted commas and variable pass in string.

Hi @Paramjit Yadav 1st - use a single 'postrophe': ' instead of " I have created a simple function that returnes the valu...

4 months ago | 0

Answered

Variables cannot be recognized in app designer

Hi @Xiangfeng I've just tried it, It works 100% OK Look @ the screenshot (attached) What you must make sure is that you do...

Variables cannot be recognized in app designer

Hi @Xiangfeng I've just tried it, It works 100% OK Look @ the screenshot (attached) What you must make sure is that you do...

4 months ago | 0

Answered

left and right sides have a different number of elements.

Hi @Luca Re This is simple - since the 'i' is a logical indexing vector and is not all 'true' length(find(i)) % == 5948 Thus:...

left and right sides have a different number of elements.

Hi @Luca Re This is simple - since the 'i' is a logical indexing vector and is not all 'true' length(find(i)) % == 5948 Thus:...

4 months ago | 0

Answered

exportgraphics with 'patch' crashing Matlab 2024a

Hi @DANILO ALARCON When I made 't' smaller (t = 0:0.001:2;) - it ran smoothly, When I enlarge it (t = 0:0.001:10;) and run - ...

exportgraphics with 'patch' crashing Matlab 2024a

Hi @DANILO ALARCON When I made 't' smaller (t = 0:0.001:2;) - it ran smoothly, When I enlarge it (t = 0:0.001:10;) and run - ...

4 months ago | 0

Answered

How to produce an array that displays the common data values in other arrays?

Hi @Jacey Your question is not clear enogh I have changed a,b &c to hold also other values than 0,1 The result is : "ind" ho...

How to produce an array that displays the common data values in other arrays?

Hi @Jacey Your question is not clear enogh I have changed a,b &c to hold also other values than 0,1 The result is : "ind" ho...

4 months ago | 0

Answered

counter that will count the input 1. If the input signal goes to 0 then the counter should reset.

Hi I have created a dummy "signal" variable that gets the value True or False. Hope this fits your needs counter = 0; for i ...

counter that will count the input 1. If the input signal goes to 0 then the counter should reset.

Hi I have created a dummy "signal" variable that gets the value True or False. Hope this fits your needs counter = 0; for i ...

4 months ago | 0

Answered

Book recommendations for improving optimization, control and modeling different processes in MATLAB

Hi Take a look @ the next 2 links. You might find what you are looking for https://www.mathworks.com/academia/books/accelerat...

Book recommendations for improving optimization, control and modeling different processes in MATLAB

Hi Take a look @ the next 2 links. You might find what you are looking for https://www.mathworks.com/academia/books/accelerat...

4 months ago | 0

Answered

Opening of serial port during GUI formation.

Hi I have enhanced your class: Added serial_port to the properties: properties fig daq UI ...

Opening of serial port during GUI formation.

Hi I have enhanced your class: Added serial_port to the properties: properties fig daq UI ...

4 months ago | 0

| accepted

Answered

Color change in plots

Hi I have seen your attached fig (better to attach (also) a *.png file as @Image Analyst commented Anyhow - you use "shadedErr...

Color change in plots

Hi I have seen your attached fig (better to attach (also) a *.png file as @Image Analyst commented Anyhow - you use "shadedErr...

4 months ago | 0

Answered

Overlap a webcam image and a heatmap.

Hi. There is a similar question. Please look @ https://www.mathworks.com/matlabcentral/answers/295620-how-can-i-overlap-two-ima...

Overlap a webcam image and a heatmap.

Hi. There is a similar question. Please look @ https://www.mathworks.com/matlabcentral/answers/295620-how-can-i-overlap-two-ima...

5 months ago | 1

Answered

Image processing for pattern restoration

Hi Finiding the 4 corners of the rectangle - is very easy (looking for minimum/maximum non zero index on each dimention) Here ...

Image processing for pattern restoration

Hi Finiding the 4 corners of the rectangle - is very easy (looking for minimum/maximum non zero index on each dimention) Here ...

5 months ago | 1

| accepted

Question

retrieve mat-file version for v7.0

Hi Referring https://www.mathworks.com/matlabcentral/answers/47013-retrieve-mat-file-version?s_tid=sug_su We can tell the mat-...

5 months ago | 1 answer | 0

Answered

error when using {}

Hi What you are doing is wrong: You have a variable called "Periodandfrequencies" which is a "table" (defined on line #335 @ y...

error when using {}

Hi What you are doing is wrong: You have a variable called "Periodandfrequencies" which is a "table" (defined on line #335 @ y...

5 months ago | 0

Answered

Given the coordinates (x, y) of a center of a circle and it's radius, write a program which will determine whether a point lies inside the circle, on the circle or outside

distance = sqrt((xc-xp)^2 + (yc-yp)^2);

Given the coordinates (x, y) of a center of a circle and it's radius, write a program which will determine whether a point lies inside the circle, on the circle or outside

distance = sqrt((xc-xp)^2 + (yc-yp)^2);

5 months ago | 0

Submitted

save2

= exactly as builtin function "save", but variables can be sent to function directly (not as char)

5 months ago | 1 download |

Answered

keyboard short cut key for my customized script

Hi The next link might be what you are looking for: https://www.mathworks.com/help/matlab/matlab_prog/create-shortcuts-to-frequ...

keyboard short cut key for my customized script

Hi The next link might be what you are looking for: https://www.mathworks.com/help/matlab/matlab_prog/create-shortcuts-to-frequ...

5 months ago | 0

Answered

Finding small vector in big vector

Hi A small improvement where the sub-vector is found more than once... x = x(:)'; % Make sure data is a Row vector ix = strfi...

Finding small vector in big vector

Hi A small improvement where the sub-vector is found more than once... x = x(:)'; % Make sure data is a Row vector ix = strfi...

5 months ago | 0

Answered

there is error in plotting, how to resolve it?

Hi I see no problem for Matlab to plot "undefined" value 1st of al 0^0 in Matlab is 1 (try for yourself...) Undfined value ca...

there is error in plotting, how to resolve it?

Hi I see no problem for Matlab to plot "undefined" value 1st of al 0^0 in Matlab is 1 (try for yourself...) Undfined value ca...

5 months ago | 0

Solved

Test if a Number is a Palindrome without using any String Operations

*Description* Given an integer _X_, determine if it is a palindrome number. That is, _X_ is equal to the _X_ with the digits ...

7 months ago

Solved

Determine if Input is Oddish or Evenish (Odd/Even Sum of Digits)

Given a positive integer n, determine whether n is "oddish" or "evenish" - that is, whether the sum of the digits of n is odd or...

7 months ago

Solved

Plot Damped Sinusoid

Given two vectors |t| and |y|, make a plot containing a blue ( |b| ) dashed ( |--| ) line of |y| versus |t|. Mark the minimum...

8 months ago

Solved

Rescale Scores

Each column (except last) of matrix X contains students' scores in a course assignment or a test. The last column has a weighted...

8 months ago

Solved

Calculate Inner Product

Given two input matrices, |x| and |y|, check if their inner dimensions match. * If they match, create an output variable |z|...

8 months ago

Solved

Find the Best Hotels

Given three input variables: hotels - a list of hotel names ratings - their ratings in a city cutoff - the rating at which yo...

8 months ago

Solved

Crop an Image

A grayscale image is represented as a matrix in MATLAB. Each matrix element represents a pixel in the image. An element value re...

8 months ago