A résolu


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

plus de 9 ans il y a

Réponse apportée
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...

plus de 9 ans il y a | 0

| A accepté

Réponse apportée
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_...

plus de 9 ans il y a | 0

Réponse apportée
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...

plus de 9 ans il y a | 1

| A accepté

Réponse apportée
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...

plus de 9 ans il y a | 0

| A accepté

Réponse apportée
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...

plus de 9 ans il y a | 0

| A accepté

Réponse apportée
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...

plus de 9 ans il y a | 1

Réponse apportée
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(...

plus de 9 ans il y a | 0

A résolu


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

plus de 9 ans il y a

Réponse apportée
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,...

plus de 9 ans il y a | 0

A résolu


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

plus de 9 ans il y a

A résolu


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

plus de 9 ans il y a

A résolu


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

plus de 9 ans il y a

A résolu


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

plus de 9 ans il y a

A résolu


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

plus de 9 ans il y a

A résolu


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

plus de 9 ans il y a

A résolu


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

plus de 9 ans il y a

A résolu


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]

plus de 9 ans il y a

A résolu


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

plus de 9 ans il y a

A résolu


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

plus de 9 ans il y a

A résolu


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

plus de 9 ans il y a

A résolu


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

plus de 9 ans il y a

A résolu


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

plus de 9 ans il y a

A résolu


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

plus de 9 ans il y a

A résolu


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

plus de 9 ans il y a

A résolu


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

plus de 9 ans il y a

A résolu


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

plus de 9 ans il y a

A résolu


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

plus de 9 ans il y a

A résolu


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

plus de 9 ans il y a

A résolu


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

plus de 9 ans il y a

Charger plus