Answered
Write an image analysis MATLAB program
This sounds like a homework assignment. If it is, show us the code you've written to try to solve the problem and ask a specific...

4 years ago | 0

Answered
How to obtain union of three shapes given the coordinates
I'd use polyshape. cy_l=0.3; % length of rectangle outside the circle r=0.5; % radius of circle a=0.3; % width of rectangle ...

4 years ago | 0

| accepted

Answered
Access of .OND and .PAN extension file
You want MATLAB to read in Lotus Notes Encapsulated Memo Files and Panorama Database Files? I don't believe there are any functi...

4 years ago | 0

Answered
Error using fileparts with Datastore
I believe ds.Files returns a cell array or a string array of file names. Support for a cell array of file names or a string arra...

4 years ago | 0

Answered
It shows File: mainvala.m Line: 77 Column: 21 Invalid use of operator. whenever i run this. Any fixexs?
Assuming the comment that starts your code is on line 1, lines 77-79 are: theoryBer_nRx1 = 0.5.(1-1(1+1./EbN0Lin).^(-0.5)); p...

4 years ago | 0

Answered
How to assign predetermined values for points of discontinuity
v = 0:5:50 a_n=(0.01.*(10-v))./(exp((10-v)./10)-1) a_n = fillmissing(a_n, 'constant', 0.1) % Fill missing values (NaN) in a_n ...

4 years ago | 0

Answered
How to install matlab_R2021b_maci64-2.dmg in my Mac book pro
At which step of the installation process did you first encounter difficulties that prevented you from completing the installati...

4 years ago | 0

Answered
Unrecognized property 'fig' for class 'matlab.ui.Figure'.
You'd already stored a figure handle in the variable named h, and indeed a Figure handle doesn't have a property named fig like ...

4 years ago | 1

Answered
Marker Indices automation using 'set' function
What you've written second would almost work if you turned hold on. However you can't use a line specification in a set call lik...

4 years ago | 1

| accepted

Answered
How to initialize polyshape array?
P = repmat(polyshape, 1, 5); for k = 1:5 P(k) = nsidedpoly(2+k, 'Center', [2*k, 0]); end plot(P) axis equal

4 years ago | 3

| accepted

Answered
Show more digit number in command window
Are you trying to display a numeric result (in which case you should use the format function to change the format used to displa...

4 years ago | 0

Answered
Finding coefficients of variables of specific powers
syms x y r z = x^2*y + 3*y + 5*x^2 +4*y^2 + 3*x*y*r + 5 [coeffsOfX, powersOfX] = coeffs(z, x, 'all') [coeffsOfX2y, powersOfY]...

4 years ago | 0

Answered
Difference between orth(A) and classical Gram Schmidt
See the Algorithms section on the documentation page for the orth function.

4 years ago | 0

| accepted

Answered
When the variables of the equation are zero, the equation cannot be solved and results in reading 'Value' must be a double scalar within the range of 'Limits'.
I'm guessing you have a NumericEditField in your app. What are the values for the properties Value and Limits of your edit field...

4 years ago | 0

Answered
checking an interval by using switch case function
switch and case are not the best tools for this application, at least not alone. If you have a small number of potential cases e...

4 years ago | 0

| accepted

Answered
How can i assign sybolic values to ymbolic variables in an symbolic matrix?
Can you create variables named c1, c2, c3, etc.? Yes. Should you do this? The general consensus is no. See that Answers post fo...

4 years ago | 0

Answered
how to convert date to milliseconds (Binance format)
So your input is a number of milliseconds since January 1st, 1970? msSince1970 = 1234567; start = datetime(1970, 01, 01); T1 ...

4 years ago | 0

| accepted

Answered
How can I calculate the cumulative sum of this file?
"calculate the cumulative" what of the file? Cumulative sum? cumsum. Cumulative product? cumprod. Cumulative minimum or maxim...

4 years ago | 0

| accepted

Answered
Generating random numbers with a different probabilities
If you know the probabilities you want each number to have you could use discretize. For instance if I want to generate numbers ...

4 years ago | 0

Answered
Convert epoch to human readable data and time
What's the unit of time a value of 1 in your epochtime represents? Seconds, microseconds, nanoseconds, etc.? t = 6000; start =...

4 years ago | 0

Answered
What is this block called in MATLAB R2021a
In the context of the model in which it's used, what's its purpose? If you know what it's intended to do you could search in the...

4 years ago | 0

Answered
creating a loop of a 158 component vector
As shown in the "Decrement Values" example on the documentation page for the for keyword, you can specify a vector with start, i...

4 years ago | 0

Answered
Storing small numbers and logarithms.
How large is "very large"? Can you perform the calculation symbolically (by converting a and b into sym values before trying to ...

4 years ago | 1

Answered
How can I stop ode45 when certain derivative is negative?
Your events function can return a vector of values and detect an event if any of the elements of that vector crosses zero. See t...

4 years ago | 0

Answered
YOLOV3 example missing functions
Open the example in MATLAB (either MATLAB Online or desktop MATLAB). The directory that contains the example .mlx file also cont...

4 years ago | 0

| accepted

Answered
Generating Geometry Patterns at Scale
Consider using polyshape and the convenience function nsidedpoly. h = nsidedpoly(6, 'Center', [10 10], 'Radius', 5); plot(h) ...

4 years ago | 0

Answered
Symmetric/Centered Moving Average
Take a look at the movmean function.

4 years ago | 0

| accepted

Answered
How can i get the double % to highlight a section again?
See this Answers post.

4 years ago | 1

| accepted

Answered
How do you write this "| "symbol in MATLAB?
If for whatever reason you cannot type the | character (which on my QWERTY keyboard is Shift plus the key to the far right of th...

4 years ago | 1

Answered
Is it possible to code solver tool in Excel as a Matlab code?
If you have Optimization Toolbox take a look at this documentation page and the pages to which the first section link.

4 years ago | 0

Load more