Answered
Can't open m-files, saying "Not enough input arguments"
Rename the open.m file you have in your current directory. It's shadowing the built-in open function included with MATLAB.

8 years ago | 0

Answered
What are the uses of Matlab for the engineer of electric power and machinery?
Could you be a little more specific about what you mean by "electric power and machinery"? Do you mean industrial automation and...

8 years ago | 1

Answered
preallocate array without initializing
If you want a matrix of class int16 filled with 0 elements, don't wrap a call to zeros in a call to int16. Instead use the typen...

8 years ago | 1

| accepted

Answered
Write a program in Matlab that reads these measurements from the file surface.txt and computes these three measures.
You haven't satisfied the requirements of your assignment. You're told you need to submit it as xxxx3padata.txt not as a file wi...

8 years ago | 0

| accepted

Answered
Projectile 2D plot with drag using ODE45
Take a look at the ballode example. It uses an events function to stop the ODE solver when the bouncing ball hits the floor. You...

8 years ago | 0

Answered
Old version of matlab
Have you tried running the old program on a more recent release of MATLAB? MATLAB 6.0 (R12) is eighteen years old (released in ...

8 years ago | 0

Answered
overlapping polygons translation to non overlapping polygons
Use area and intersect (possibly with polybuffer) as shown in this post on Loren Shure's blog to identify overlapping polygons. ...

8 years ago | 1

Answered
What is the recommended practice for plotting the outputs of histcounts?
If you cannot directly call histogram to bin your data while visualizing it but need to visualize the output of one or more call...

8 years ago | 5

Answered
hello please admin how can i get a liscence number to download matlab for free 30 days test please i nees answer thanx
In the footer at the bottom of this page, the second link under the "Try or Buy" section is "Trial Software". Use that to reques...

8 years ago | 0

Answered
Does network configuration blocks proper installation of MATLAB products?
What happened when you pressed Yes to retry downloading that file? If you were still unable to continue with the installation, ...

8 years ago | 0

| accepted

Answered
My script is not giving me the title, xlabel, and ylabel that I am asking so how can I fix it?
Call title, xlabel, and ylabel after calling plot. By default calling plot is going to clear graphics objects from the axes, res...

8 years ago | 2

| accepted

Answered
Edit or shadow toolbox function
I strongly recommend against modifying functions in MathWorks toolboxes for some of the same reasons Jan called out. If you must...

8 years ago | 2

| accepted

Answered
Breakpoint does not work
The fact that the stack for the error includes the function parfinitedifferences suggests to me that the condition to enter that...

8 years ago | 1

| accepted

Answered
Trying to make symsum work.
If the only factorial function that appears when you execute: which -all factorial is the one included in MATLAB, you probably...

8 years ago | 2

| accepted

Answered
Compile Mex .cpp files
The file you posted does not seem to satisfy the requirements to be a C++ MEX file as stated on this documentation page. You hav...

8 years ago | 0

Answered
polybuffer command how to get the polygons without colours ?
When you call plot on the polyshape object returned by polybuffer specify that you want 'FaceColor' to be 'none'. Compare the pl...

8 years ago | 0

| accepted

Answered
format long does not work in a function
The format function changes how double and single precision numbers are displayed. It has no impact on how computations are perf...

8 years ago | 0

Answered
Error: Unable to use a value of type 'fittype' as an index.
Rename the variable you created with the name fit.

8 years ago | 1

| accepted

Answered
emailing results from MATLAB program
See the sendmail function.

8 years ago | 0

| accepted

Answered
bitget function is not invoking output bits in a vector
Why loop? r = randi([0 intmax('int8')], 8, 1, 'int8'); recovered_bits = bitget(r, 1); result = [r, recovered_bits, mod(r, 2)]...

8 years ago | 1

Answered
can someone tell me why cant i use any other video as an example in this code : https://in.mathworks.com/help/vision/examples/detecting-cars-using-gaussian-mixture-models.html
You didn't say what happens when you try using a different video in the example. Do you have Computer Vision System Toolbox ins...

8 years ago | 0

Answered
matlab ode45 not enough input arguments
See this documentation page linked from the ode45 documentation page.

8 years ago | 2

| accepted

Answered
speed up run time of mldivide function.
If you're solving the system A*x = b with the same A every time (or a small number of different A matrices many times each) try ...

8 years ago | 2

| accepted

Answered
Undefined function or variable 'lb'.
You call your afiqah function with 0 output arguments inside your MyCost function. That means when the afiqah function finishes ...

8 years ago | 0

Answered
is there any function that convert negative value to zero?
Use the max function with two inputs.

8 years ago | 0

Answered
how to fix this error in matlab 2013? But it works when I run it in matlab 2015 vers
The decyear function is part of Aerospace Toolbox. My guess is that you don't have this toolbox installed in your installation o...

8 years ago | 0

Answered
How to solve this 16x16 matrix?
Use the null function.

8 years ago | 4

Answered
I am not able to figure out what the problem is?
yd = @(t,y) [y(2); cos(3*t) - sin(y(1)); You're missing a closing square bracket on this line.

8 years ago | 1

| accepted

Answered
Changing variable (properties in class) by method
Your class is a value class as opposed to a handle class. See this documentation page for a description of the differences betwe...

8 years ago | 9

| accepted

Answered
scrollable property not recognised
Looking at the Release Notes it appears that property was added in release R2018b. Which release are you using?

8 years ago | 2

| accepted

Load more