Réponse apportée
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...

environ 2 mois il y a | 0

Réponse apportée
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...

environ 2 mois il y a | 0

Réponse apportée
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:...

environ 2 mois il y a | 0

Réponse apportée
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 - ...

environ 2 mois il y a | 0

Réponse apportée
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...

environ 2 mois il y a | 0

Réponse apportée
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 ...

environ 2 mois il y a | 0

Réponse apportée
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...

environ 2 mois il y a | 0

Réponse apportée
Opening of serial port during GUI formation.
Hi I have enhanced your class: Added serial_port to the properties: properties fig daq UI ...

environ 2 mois il y a | 0

| A accepté

Réponse apportée
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...

environ 2 mois il y a | 0

Réponse apportée
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...

environ 2 mois il y a | 1

Réponse apportée
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 ...

environ 2 mois il y a | 1

| A accepté

A soumis


eval_test_list
- e-z running a test list

2 mois il y a | 1 téléchargement |

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

2 mois il y a | 1 réponse | 0

1

réponse

Réponse apportée
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...

2 mois il y a | 0

A soumis


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

2 mois il y a | 1 téléchargement |

Réponse apportée
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...

2 mois il y a | 0

Réponse apportée
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...

2 mois il y a | 0

Réponse apportée
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...

3 mois il y a | 0

A soumis


bitset_multi
Multiple simultaneous bit set

3 mois il y a | 2 téléchargements |

A résolu


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

5 mois il y a

A résolu


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

5 mois il y a

A résolu


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

5 mois il y a

A résolu


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

5 mois il y a

A résolu


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

5 mois il y a

A résolu


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

5 mois il y a

A résolu


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

5 mois il y a

A résolu


Calculate BMI
Given a matrix hw (height and weight) with two columns, calculate BMI using these formulas: 1 kilogram = 2.2 pounds 1 inch = 2...

5 mois il y a

A résolu


Verify Law of Large Numbers
If a large number of fair N-sided dice are rolled, the average of the simulated rolls is likely to be close to the mean of 1,2,....

5 mois il y a

A résolu


Find the Oldest Person in a Room
Given two input vectors: * |name| - user last names * |age| - corresponding age of the person Return the name of the ol...

5 mois il y a

Charger plus