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

alrededor de 2 meses 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 ...

alrededor de 2 meses 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...

alrededor de 2 meses 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 ...

alrededor de 2 meses ago | 0

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

alrededor de 2 meses 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

alrededor de 2 meses ago | 1

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

alrededor de 2 meses 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]...

alrededor de 2 meses ago | 0

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

alrededor de 2 meses 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...

alrededor de 2 meses 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...

alrededor de 2 meses 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...

alrededor de 2 meses 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 ...

alrededor de 2 meses 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...

alrededor de 2 meses 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 ...

alrededor de 2 meses 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 =...

alrededor de 2 meses 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...

alrededor de 2 meses 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...

alrededor de 2 meses 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 ...

alrededor de 2 meses 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...

alrededor de 2 meses 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...

alrededor de 2 meses 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) ...

alrededor de 2 meses ago | 0

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

alrededor de 2 meses ago | 0

| accepted

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

alrededor de 2 meses ago | 0

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

alrededor de 2 meses 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.

alrededor de 2 meses ago | 0

Answered
Why is MATLAB not recognizing my variables in my switch block?
First, you probably want to have an otherwise block in your switch / case to handle the case where a user enters something other...

2 meses ago | 1

Answered
Make an app from matlab app designer a executable .
Use the MATLAB Compiler product to create and deploy a web app.

2 meses ago | 0

Answered
How can I adjust the patch function to display correctly?
I'm not sure patch is the right tool for this job. Have you tried using geoplot or perhaps patchm from Mapping Toolbox instead?

2 meses ago | 0

Answered
convert value from radian form to degree form
See the deg2rad function.

2 meses ago | 0

| accepted

Load more