Gelöst


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

fast 14 Jahre vor

Gelöst


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

fast 14 Jahre vor

Gelöst


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

fast 14 Jahre vor

Gelöst


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

fast 14 Jahre vor

Gelöst


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

fast 14 Jahre vor

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

fast 14 Jahre vor | 3

Gelöst


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

fast 14 Jahre vor

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

fast 14 Jahre vor | 0

Gelöst


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

fast 14 Jahre vor

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

fast 14 Jahre vor | 3 | 456 Lösungsvorschläge

Gelöst


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

fast 14 Jahre vor

Gelöst


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

fast 14 Jahre vor

Gelöst


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

fast 14 Jahre vor

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

fast 14 Jahre vor | 0

Gelöst


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

fast 14 Jahre vor

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

etwa 14 Jahre vor | 0

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

etwa 14 Jahre vor | 0

| akzeptiert

Gelöst


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

etwa 14 Jahre vor

Gelöst


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

etwa 14 Jahre vor

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

etwa 14 Jahre vor | 2

Frage


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

etwa 14 Jahre vor | 7 Antworten | 4

7

Antworten

Gelöst


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

etwa 14 Jahre vor

Gelöst


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

etwa 14 Jahre vor

Frage


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

etwa 14 Jahre vor | 1 Antwort | 1

1

Antwort

Frage


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

etwa 14 Jahre vor | 2 Antworten | 0

2

Antworten

Gelöst


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

etwa 14 Jahre vor

Gelöst


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

etwa 14 Jahre vor

Gelöst


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

etwa 14 Jahre vor

Gelöst


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

etwa 14 Jahre vor

Gelöst


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

etwa 14 Jahre vor

Mehr laden