Answered
Will Matlab 2006a run on Windows 7 (x32)
It's not officially supported. <http://www.mathworks.com/support/sysreq/release2006b/index.html>

12 years ago | 0

Answered
After Allocating a Large Variable and Crashing, MATLAB is Forever Slow
I would recommend first just upping your Java Heap Space. This is the first thing to do for desktop sluggishness. Go to: ...

12 years ago | 0

Answered
'mtimes' error and how to fix it
_v_ appears to be a dataset. If you want to multiply one of the variables in this dataset with another, you'll need to extract ...

12 years ago | 0

Answered
I want to find the initial parameters for nlinfit, but I do not calculate it!
Perhaps try |MultiStart| or |GlobalSearch|: * <http://www.mathworks.com/help/releases/R2013b/gads/multistartclass.html> * <h...

12 years ago | 0

Solved


Sum Rows
Sum the same indexed (unique) rows. Examine the test suite. Related Challenge - <http://www.mathworks.com/matlabcentral/cody/...

12 years ago

Answered
Continuous plot(x,y) for discrete data points
|plot| is just connecting the points with lines. If you don't want this, you can specify the marker. For example, for a red * ...

12 years ago | 1

Answered
How do I make a pcolor plot use the first row and column of the data for the X and Y axes?
If I understand you correctly, you need to extract the first row/column and use |meshgrid| to build the grid for |surf| (better ...

12 years ago | 0

| accepted

Answered
How to "Rotate a block" present in model by using "Command" ?
Use |set_param| to change the various block properties to what you want: <http://www.mathworks.com/help/releases/R2013b/simul...

12 years ago | 0

Answered
How to permute the rows and columns in a matrix ?
So A([4,1],:) = A([1,4],:) ?

12 years ago | 0

Solved


Parallel vectors
Return true or false depending on whether 2 vectors are parallel or not. Vectors can be 2 or 3 dimensional. The origin is not c...

12 years ago

Answered
assignin caller to variables - performance issues
Try to avoid using |assignin|. Since |assignin| "poofs" variables into a workspace, this destroys some of the JIT compilation t...

12 years ago | 1

| accepted

Answered
please i need the matlab code for this question
t = (0:0.1:10).'; w_0 = linspace(-2*pi,2*pi,100); surf(t*ones(size(w_0)),ones(size(t))*w_0,cos(t*w_0))

12 years ago | 0

Answered
you will provide both the code and snapshots of the generated output.
Well in order to run the code and get snapshots along the way. Use the publish functionality. This can be found from the Edito...

12 years ago | 0

Solved


average for three points
how to calculate the average (for each three values of y) y=[2 3 5 3 4 2 3 4 5 3 2 7 8 6 5 5 4 3 3 3 2 ] you ...

12 years ago

Answered
How to find the X axis length and Yaxis length of the object
doc regionprops

12 years ago | 0

| accepted

Answered
how to show a sparse matrix
spy ?

12 years ago | 0

| accepted

Answered
Is mp3write missing from R2013B and R2013a?
I don't believe that is a MathWorks' function. Perhaps you downloaded it from here: <http://www.mathworks.com/matlabcentra...

12 years ago | 0

| accepted

Solved


The prisoner
"We want information, information, information." "Who are you?" Input can be a string or a number (array).

12 years ago

Answered
how use NFTOOL & OPTIMTOOL
You can use code and functions generated from these tools with the other, sure. E.g. generate a neural net fitting function and...

12 years ago | 0

Answered
How to select a random number from a set of numbers
doc randperm %? E.g. x = sin(1:10); x(randperm(numel(x),3))

12 years ago | 0

| accepted

Answered
Undefined function imapplymatrixc for input arguments of type 'uint8' under ubuntu 12.04
Yes, it needs to be deployed on the same platform it is to be used on.

12 years ago | 0

Answered
i dont what is the problem in this simple program plz help distinguish prime numbers
if isprime(num) disp('The num is prime') else disp('The num is not prime') end

12 years ago | 0

Answered
Making Handle a Superclass
Run: clear; clear classes; To make sure that any old instances of your class are gone. If the error still appears,...

12 years ago | 2

| accepted

Solved


Sum of diagonal of a square matrix
If x = [1 2 4; 3 4 5; 5 6 7] then y should be the sum of the diagonals of the matrix y = 1 + 4 + 7 = 12

12 years ago

Answered
how do i "re attach" string columns to data columns for identification?
If I understand you correctly, here is a small example: x = rand(100,1); y = rand(100,1); names = char(randi(100,[1...

12 years ago | 0

Answered
finding unique rows with largest value in 3rd column
Assuming that the order of the first two columns doesn't matter and that your expected matrix is missing [1 3 8] *Old/cla...

12 years ago | 0

| accepted

Solved


Generate this matrix
Generate the following matrix. n = 2; out = [-4 -3 -2 -1 0 -3 -2 -1 0 1 -...

12 years ago

Solved


Back to basics 1 - Saving
Covering some basic topics I haven't seen elsewhere on Cody. Given an input variable 'x', save it to disk in a file named 'co...

12 years ago

Solved


A matrix of introverts
You are given a matrix full of numbers who happen to be very shy. Write a MATLAB function that will put a square of zeros aroun...

12 years ago

Solved


A matrix of extroverts
Now that the introverts have had their script, the extroverts spoke up (naturally!) and demanded one as well. You will be given...

12 years ago

Load more