Answered
Divide area into polygons
Many different ways. Slice the square into 8 rectangles with horizontal cuts. Slice the square into 8 rectangles with vertical...

6 years ago | 0

| accepted

Answered
How to install the extractLBPFeatures function' to the old version MATLAB
According to that function's documentation page it was introduced in Computer Vision Toolbox (which may have been called Compute...

6 years ago | 0

| accepted

Answered
PLEASE SOMEONE HELP ME WITH THE ODE23 ERROR
Nowhere in the code you posted do you define a variable named ro2. On the line before you tried to use ro2 you defined a variabl...

6 years ago | 0

| accepted

Answered
Division creating many columns
Use element-wise division not matrix division. Table.PnC_Removal = (((Table.Concentration_S1 - Table.Concentration_S2)./ Table....

6 years ago | 0

| accepted

Answered
Assign symbolic variables in objective function as either constants or optimisation variables
Let's treat a as a symbolic constant and examine a slightly simpler version of your function. What's the minimum value the funct...

6 years ago | 0

| accepted

Answered
ERORR "CANNOT FIND 'GET' METHOD FOR STRING CLASS.
The approaches Geoff Hayes gave are two ways you can solve this problem. Two others: Because handles is a struct array, you cou...

6 years ago | 0

Answered
Error using ODE45
A cleaner (IMO) approach would be to solve your system of ODEs with torque applied from time t = 0 to time t = 700. Use the resu...

6 years ago | 0

Answered
Hi, I have problem with dsolve
Based on the longest of the Tags you specified: attempt to execute script dsolve as a function: c:\users\dell\desktop\matlab201...

6 years ago | 0

Answered
What is the defintion of cpolygon in polygon.builtin class
It is part of an internal package, intended only for MathWorks use, and is not documented.

6 years ago | 1

Answered
appropriate measurement for handling error outliers
Use the functions and tasks listed on this documentation page for cleaning outliers from your data.

6 years ago | 0

| accepted

Answered
How can I multiply an indexed vector by scalar?
phi_i is a function, not an array. You could write B_j as the product of a number and the value you obtained from evaluating phi...

6 years ago | 0

| accepted

Answered
Weird class property behavior
Yes, this is documented behavior. See the "Expressions In Handle Classes" section on this documentation page and the "Initializi...

6 years ago | 0

| accepted

Answered
Error using load: Number of columns on line 2 of ASCII file must be the same as previous lines.
The load function is intended for use in loading a MAT-file or a regularly formatted text file. Use audioread to read in a sound...

6 years ago | 1

| accepted

Answered
Entries in array of class instances affecting others in my array
You're assigning the same handle object to all three elements of Terminal_array. That means changing one of the elements of Term...

6 years ago | 0

| accepted

Answered
Where is the matrix operator?
I think I see the confusion. You're looking at the first example on this documentation page, right? The command to create the a...

6 years ago | 0

| accepted

Answered
Variables in function are not stored in workspace
If you want g1 and g2 to be available in the workspace in which you call helpme, specify them as output arguments for helpme: f...

6 years ago | 0

| accepted

Answered
Array indices must be positive integers or logical values.
m = (w.*q.*trig((g.^2)-(2.*delta1.*g.*a)-(2.*delta2.*g.*(B1xi./B0xi))+... ((delta1.^2).*b)+(delta1.*delta2.*a.*(B1xi./B0xi)...

6 years ago | 1

Answered
How can I resolve this problem regarding nested functions?
Your first attempt is pretty close. Just a couple comments: function [root1, root2]= getreal(a,b,c); getinput function get...

6 years ago | 0

Answered
Incorrect dimensions for raising a matrix to a power. Check that the matrix is square and the power is a scalar. To perform elementwise matrix powers, use '.^'.
x^5 is conceptually equivalent to x*x*x*x*x using matrix multiplication. x.^5 is conceptually equivalent to x.*x.*x.*x.*x using...

6 years ago | 3

Answered
Question for Designated Computer Academic License
Please contact the Support staff directly using the telephone icon in the upper-right corner of this page. I believe they should...

6 years ago | 0

Answered
Why I get ans = logical 1
Another approach uses discretize. >> A = randn(10, 1); >> edges = [-Inf -0.9957 0 0.9957 Inf]; >> values = [-1.493, -0.497, 0...

6 years ago | 1

| accepted

Answered
String Comparison giving weird results, false for a true case.
If you're looking to find and/or fill missing data take a look at the ismissing and fillmissing functions. rng default A = ran...

6 years ago | 0

Answered
why cant multiply an anonymous function with a changing variable?
integral will call your function with a vector of values and expects your function to return a vector of the same size. w and s1...

6 years ago | 1

| accepted

Answered
error when compiling with mcc and app designer
Is the command you're trying to execute literally this? mcc -m -I app.pathmatlab app.filematlab If the inputs you want to pass...

6 years ago | 0

| accepted

Answered
How to get detectSpeech function in MATLAB2019b
This function was introduced in release R2020a, according to the note at the end of its documentation page. You will need to upg...

6 years ago | 0

Answered
Why character or string array cannot be constructed like numerical array?
You have to start with the correct type of array. a = ""; a(1:3) = "er"

6 years ago | 1

| accepted

Answered
I can't create a graph using matlab...
When I tried to read the data from that channel the output data was the 0-by-0 empty. The channelInfo output states that this c...

6 years ago | 1

| accepted

Answered
Error in using rmoutliers()
The 'percentiles' option for rmoutliers, isoutlier, and filloutliers was introduced in release R2019a. You indicated you're usin...

6 years ago | 0

| accepted

Answered
Why am I getting Nan values?
Set an error breakpoint to stop when an Inf or NaN value gets generated then run your code. When MATLAB stops, look at the line ...

6 years ago | 0

Answered
How do I avoid using a lot of if statements in a row?
Do you need to have eleven individually numbered variables, or are they all the same size and type (and therefore "stackable" as...

6 years ago | 0

Load more