Solved


R2012b atan in Degrees
Return in degrees the atan result of inputs for all four quadrants. *Examples:* [x, y] Degrees 1 0 0 1 1 ...

13 years ago

Solved


Linear system solve
Solve a linear set of equations as described in the following link: http://www.people.virginia.edu/~teh1m/cody/linsolv1.pdf

13 years ago

Solved


Make a Star Pyramid
Create a star pyramid. First line will have 1 star, second will have two stars and so on... a basic program which is easily done...

13 years ago

Solved


Set a diagonal
Given a matrix M, row vector v of appropriate length, and diagonal index d (where 0 indicates the main diagonal and off-diagonal...

13 years ago

Solved


Determine if input is a Narcissistic number
<http://en.wikipedia.org/wiki/Narcissistic_number Narcissistic number> is a number that is the sum of its own digits each raised...

13 years ago

Answered
Counting frequency of occurrence in matrix
Using nnz for example: nnz(x==22) will return 3

13 years ago | 3

Solved


McCabe Complexity
The Challenge is to return the McCabe complexity for various functions. One way to determine the McCabe Complexity is to use ...

13 years ago

Answered
extracting 1 plot out of multiple plots in a fig
Using the debug mode , I find that freqz is calling *freqzplot* . freqzplot is obsolete and *fvtool* should be used instead. S...

13 years ago | 0

Solved


Find nearest prime number less than input number
Find nearest prime number less than input number . For example: if the input number is 125, then the nearest prime number whi...

13 years ago

Problem


Unique values without using UNIQUE function
You must return unique values in a vector in *stable* mode without using the unique function. About stable order flag: ...

13 years ago | 3 | 439 solvers

Solved


Unique values without using UNIQUE function
You must return unique values in a vector in *stable* mode without using the unique function. About stable order flag: ...

13 years ago

Solved


Split a string into chunks of specified length
Given a string and a vector of integers, break the string into chunks whose lengths are given by the elements of the vector. Ex...

13 years ago

Solved


We love vectorized solutions. Problem 1 : remove the row average.
Given a 2-d matrix, remove the row average from each row. Your solution MUST be vectorized. The solution will be tested for ac...

13 years ago

Answered
How can I compile standalon app with x64 MATLAB and Compiler for x86 cpu?
From the <http://www.mathworks.fr/fr/help/compiler/mcc.html mcc> documentation : -win32 Run in 32-Bit Mode Use this o...

13 years ago | 0

Solved


ismember: Enhanced Time Performance for 'rows' - Speed Scoring (90% savings)
The Challenge is to perform very fast the 'ismember' function for a long and wide array. The data is small integer representi...

13 years ago

Answered
How can I make an Horizontal tab (\t) using TEXT and TeX ?
I submitted a Service request to The MathWorks Technical Support. This is their answer : |I understand that '\t' is not rec...

13 years ago | 0

Answered
Legend does not refresh after hold command
I have just noticed that there was no answer . Since this question I found 3 workarounds : <http://blog.developpez.com/matlab...

13 years ago | 0

| accepted

Solved


Unique: Faster 'rows' for large array of uint8
Challenge: Execute unique(a,'rows') Faster for 'a' being uint8. The "unique" function for the 'rows' options may be performe...

13 years ago

Solved


Unique: Faster for options 'rows' and 'stable' for large array of uint8
Challenge: Execute unique(a,'rows','stable') Faster for 'a' being uint8. The "unique" function for the 'rows' and 'stable' o...

13 years ago

Answered
Too late to submit Negative feedback for R2012b !
Thanks everyone for your feedback. Only Oleg and me seem to have tested the Prerelease. I guess TMW will never answer about the ...

13 years ago | 2

Question


Too late to submit Negative feedback for R2012b !
The Jan Simon's question <http://www.mathworks.com/matlabcentral/answers/48070-experiences-with-release-2012b Experiences with r...

13 years ago | 7 answers | 4

7

answers

Solved


Cody Matlab Version
What is the current Cody Matlab Release? *Output:* string *Examples:* '(R2012a)' or 'R2012a' Hint: We have mo...

13 years ago

Solved


"mirror" matrix
Create n x 2n "mirror" matrix of this type: e.g. for n = 2 m = [1 2 2 1;1 2 2 1] e.g. for n = 3 m = [1 2 3 3 2 1...

13 years ago

Question


How can I correctly zoom axes inside an uipanel?
When I execute this code ( *an axe inside an uipanel* ) : h = uipanel; axes('parent',h) x = -4:0.1:4; y =...

13 years ago | 1 answer | 1

1

answer

Question


How can I make an Horizontal tab (\t) using TEXT and TeX ?
I manage to display 2 lines in bold as follows: str =sprintf('{\\bfline1:} \n {\\bfline2:}') text(0.2,0.3, str) But...

13 years ago | 2 answers | 0

2

answers

Solved


Valid Chess Moves
Using <http://en.wikipedia.org/wiki/Algebraic_chess_notation standard Algebraic notation> ('' for a pawn), given previous move a...

13 years ago

Solved


Biggest Value in the (Neighbor)Hood
For this challenge you get two inputs: a matrix A and an integer value n. Your function should return a Matrix B of the same si...

13 years ago

Solved


Ordinal numbers
Given an integer n, return the corresponding ordinal number as a character string. For example, ord(1)='1st' ord(2)=...

13 years ago

Solved


1D DCT-II transform.
Implement a function that calculates 1D Discrete Cosine Transform <http://en.wikipedia.org/wiki/Discrete_cosine_transform#DCT-II...

13 years ago

Solved


Checkerz_000 Kamikazi Kings
Checkerz: A simplified single jump checkers game between a computer bot and a player bot. Multiple jumps are not allowed. The...

13 years ago

Load more