Gelöst


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

mehr als 9 Jahre vor

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

mehr als 9 Jahre vor | 0

| akzeptiert

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

mehr als 9 Jahre vor | 0

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

mehr als 9 Jahre vor | 1

| akzeptiert

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

mehr als 9 Jahre vor | 0

| akzeptiert

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

mehr als 9 Jahre vor | 0

| akzeptiert

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

mehr als 9 Jahre vor | 1

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

mehr als 9 Jahre vor | 0

Gelöst


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

mehr als 9 Jahre vor

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

mehr als 9 Jahre vor | 0

Gelöst


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

mehr als 9 Jahre vor

Gelöst


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

mehr als 9 Jahre vor

Gelöst


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

mehr als 9 Jahre vor

Gelöst


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

mehr als 9 Jahre vor

Gelöst


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

mehr als 9 Jahre vor

Gelöst


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

mehr als 9 Jahre vor

Gelöst


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

mehr als 9 Jahre vor

Gelöst


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]

mehr als 9 Jahre vor

Gelöst


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

mehr als 9 Jahre vor

Gelöst


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

mehr als 9 Jahre vor

Gelöst


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

mehr als 9 Jahre vor

Gelöst


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

mehr als 9 Jahre vor

Gelöst


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

mehr als 9 Jahre vor

Gelöst


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

mehr als 9 Jahre vor

Gelöst


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

mehr als 9 Jahre vor

Gelöst


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

mehr als 9 Jahre vor

Gelöst


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

mehr als 9 Jahre vor

Gelöst


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

mehr als 9 Jahre vor

Gelöst


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

mehr als 9 Jahre vor

Gelöst


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

mehr als 9 Jahre vor

Mehr laden