Solved


Change number representation to HEX
Given a number change it's representation to HEX and output it.

9 years ago

Answered
Is it possible getting x coördinates from an accelerometer measurement?
It seems you need to threshold the values of XYZ (that I think is a vector). Fore example, fix a thereshold to T=1 (or some that...

9 years ago | 0

| accepted

Answered
How to remove the horizontal streamline when plotting contour using atan2? Streamline plotting help
Why they shouldn't be there? They SHOULD be there. This is the plot of the atan2 function: <</matlabcentral/answers/uploaded_...

9 years ago | 0

Answered
How do I create bin widths using a simple algebra function?
*IMPORTANT: there is no need to use find!!!* *EXPLOIT MATLAB LOGICAL INDEXING* To replace "time<5" with "5<time<10" just u...

9 years ago | 1

| accepted

Answered
How to transpose a block matrix
Use cells, transpose them. C={[1,1;1,1],[2,2;2,2];[3,3;3,3],[5,5;5,5]}; D=C'; %to get matrices out of cells cell2m...

9 years ago | 0

| accepted

Answered
how to change cursor to hour glass
For hour glass see this post: <https://it.mathworks.com/matlabcentral/newsreader/view_thread/32972> Otherwise, consider al...

9 years ago | 0

| accepted

Answered
Playing sound one after another, according to number inputed
Just compute the time T (secs) the file lasts by using sample rate information and number of samples. Then, pause the for loop f...

9 years ago | 1

Answered
Determinant and inverse of a 3 X 3 matrix Issue
You are getting this error because in your function invanddet3by3(A) there is NO CALL to function invanddet2by2sol(...

9 years ago | 0

Solved


Adding Cells with numbers defined as strings
Given a cell, with strings representing numbers, add each value. For example: a = {'9','33'}; the output should be: ...

9 years ago

Answered
How to differentiate one list with respect to another?
Explain better what do you mean by "differentiate one list w.r.t. one another". If for a=[1,2,3,4,5] b=[10,11,12,13,...

9 years ago | 0

Solved


Whole Number Un-Concatenator
Write a function that accepts an integer and an index digit and returns a vector containing two integers which are the leading a...

9 years ago

Solved


Whole Number Concatenator
Write a function that concatenates whole numbers. For example: numcat(111,222) should return 111222 numcat(1,2,3,4,5) s...

9 years ago

Solved


Latest Question On Cody
Get the problem number of the latest submitted Problem on Cody. Copying the test suite code might not help.

9 years ago

Solved


Assign numerical values to a structure with 1 field
The aim is to assign values to a multidimensional structure *without using for-loop or while-loop* Example with a structure ...

9 years ago

Solved


Go back n times
You will be given a column vector (such as x = [1; 2; 3; 4; 5; 6; 7; 8]). If (n=3) you will return following; [ 1 NaN NaN Na...

9 years ago

Solved


sparse_matrix
You convert a vector to a sparse matrix. for example *x* =[1 2 3]; output will be *y* = [1 0 0 ...

9 years ago

Solved


Find hen's weight.
If hen weights x kilos on two legs, how much does it weights on one leg? Output the result.

9 years ago

Solved


Delete x value in given vector y.
Delete x value in given vector y. Exapmle x=5; y=[ 1 2 5 6 74 5 2 5] result=[1 2 6 74 2]

9 years ago

Solved


Find smallest number to leave a remainder of 1
given a vector of numbers, find the smallest number to be divisible by all of them with a remainder of 1. Note: input numbers wi...

9 years ago

Solved


Create cosine function out of sine
Please dont use cos(x) directly

9 years ago

Solved


Change matrix to vector2
From x = 4 3 5 1 5 1 To y = 4 3 5 1 ...

9 years ago

Solved


Simple Caesar Cypher - shift encrypt a message given an index number
A Caesar cypher is a simple shift encryption method. Your goal is to create a function that allows a user to input a string and ...

9 years ago

Solved


Get 1-4-3-4-4
Get the value of the indices in the title and assign it to an array

9 years ago

Solved


Convert decimal to binary and then generate the minimum binary it can with jumbling
input is 10 --> 1010 output should be 3 --> 0011 input 23 --> 10111 output should be 15 --> 01111

9 years ago

Solved


Rotate Matrix Clockwise (45 Degree)
*Matrix (3x3 only) rotation clockwise*: 2 inputs: *x* matrix and *n* times. output: *y* matrix with *n x 45* degree ro...

9 years ago

Solved


Homemade: Control Charts
This problem is a simple version of control charts in statistics. Intput consists from 30 or more observations. * Upper limi...

9 years ago

Solved


Create a block diagonal matrix
A block diagonal matrix is a square matrix that can be written as A = [a 0 0 0 0 b 0 0 0 0 c 0 ...

9 years ago

Solved


Find the gcm of n given values
Create a function that given n integer values greater than zero, finds the two numbers with the greatest common divisor and retu...

9 years ago

Solved


Find the Area of a Polygon
Consider 2-D geometry and assume that the points are given in form of rows of a matrix. Find the area of polygon enclosed by the...

9 years ago

Solved


Find out the Gray Code for a Given Binary Number
Find out <http://en.wikipedia.org/wiki/Gray_code Gray Code> for a given binary number Example Binary input 1000 Gray ...

9 years ago

Load more