A résolu


UICBioE240 problem 1.16
sin^2(pi/6) + cos^2(pi/6)

plus de 9 ans il y a

Réponse apportée
how can i fill this competent?
Use morphological operator imdilate to dilate the boundary, and then imfill. See documentation to get insights.

plus de 9 ans il y a | 4

Réponse apportée
Minor Tick Marks Don't Render Consistently
Yes there is a simple way. Take control of ticks length. See last code line: figure(1) x=[1 10 100]; y =[1 10 100]; ...

plus de 9 ans il y a | 3

A résolu


Pushing the envelope
Find the largest sized code to return... *nothing*.

plus de 9 ans il y a

A résolu


Find the area of a triangle
Given a triangle with a base b and height h, return the triangle area.

plus de 9 ans il y a

A résolu


Union of two set decreasing order
Union of two set decreasing order Say, x=[1 2 5] and y=[5 7 8] then answer must be [8 7 5 2 1]

plus de 9 ans il y a

A résolu


Probabilities - Balls and urns - 02
The urn contains B blue balls and R red balls. Each trial consists of drawing one random ball from the urn and observing its col...

plus de 9 ans il y a

Problème


Probabilities - Balls and urns - 02
The urn contains B blue balls and R red balls. Each trial consists of drawing one random ball from the urn and observing its col...

plus de 9 ans il y a | 2 | 21 solveurs

A résolu


Cumulative product of a vector
Cumulative product of a vector example x=[1 2 5 10], then answer must be [ 1 2 10 100] *If you like this prob...

plus de 9 ans il y a

Réponse apportée
What is the best method to do frequency analysis on a time based signa, spectrum block?
Try fourier transform (continuous) <https://it.mathworks.com/help/symbolic/fourier.html>

plus de 9 ans il y a | 3

A résolu


Decide whether determinant is zero.
Given a 3 x 3 matrix, find the determinant. Let y = true if the determinant is zero, and let y = false if the determinant is no...

plus de 9 ans il y a

A résolu


Is It a Palindrome?
Given a string or array, determine if it is a palindrome.

plus de 9 ans il y a

Réponse apportée
How can i find which value of a cell equals to 1?
If in your cell you have only [] or 1 elements, this works. C={1,[],[],1,[],1} %get indeces of 1s OnesInC = find(~ce...

plus de 9 ans il y a | 6

| A accepté

A résolu


Replace values under a limit
For a vector x and number n, the goal is to find every element of x inferior to n and replace it by n. Example x= [ 1 2 3...

plus de 9 ans il y a

A résolu


find the Area of a rectangle
length is x width is y what is the area of the rectangle?

plus de 9 ans il y a

Réponse apportée
Boundary replacement of values in arrays
There is no need to loop. Use logical indexing: a=randi(5,10,1); b=randi(5,10,1); c=randi(5,10,1); [a,b,c] ...

plus de 9 ans il y a | 3

| A accepté

A résolu


Sum of integers numbers
Sum of the numbers from 1 to 100

plus de 9 ans il y a

A résolu


Delete 2nd and 5th column of Given 6*6 matrix
Delete the 2nd and 5th columns of the given 6*6 matrix. Example Suppose A = magic(6) 35 1 6 26 19 ...

plus de 9 ans il y a

A résolu


What day is it?
Tell me what day is it. Return the full name of the day of the week as a string. e.g. It's June 12th 2014, so your function s...

plus de 9 ans il y a

A résolu


Cody Computer Part 5 - Guess the Name of Cody Computer
Network computers have generally a nickname to be identified. Can you guess the nickname of the Cody Computer? No inpu...

plus de 9 ans il y a

Réponse apportée
Fix for " The input to DATENUM was not an array of strings."
Most probably your variable "date" is not an array of strings.

plus de 9 ans il y a | 3

A résolu


UICBioE240 problem 1.1
Remove the middle row from a matrix, assuming # of rows is odd. So if A = [ 1 2 3; 4 5 6; 7 8 9] the...

plus de 9 ans il y a

A résolu


UICBioE240 problem 1.17
In the expression (2+5i), how does MATLAB read the expressions A = 2+5i B = 2+5*i C = both are okay Write capital letter a...

plus de 9 ans il y a

A résolu


Your favourite city!
Type your favourite city.

plus de 9 ans il y a

A résolu


Skip by a multiple
Given an integer create an array of its multiples. Array must have a length of 15

plus de 9 ans il y a

A résolu


Conversion from hours to mili sec
Convert given input in hours to mili seconds

plus de 9 ans il y a

Réponse apportée
How to obtain one cell of output data from multiple cells?
Very simple. Try this: %this is a simple version of you set of cells U = { cell(3,1) ; cell(2,1) ; cell(4,1) } %here ...

plus de 9 ans il y a | 3

| A accepté

A résolu


Enlarge array
Given an mxn numeric array (A) and a 1x2 vector (sz) indicating the dimensions [p q] to enlarge each element, return an (m*p)x(n...

plus de 9 ans il y a

A résolu


interesting center of magic matrix
output the centre of magic matrix of n input=7; output=25

plus de 9 ans il y a

A résolu


Convert elements in numeric array into different class
Write a function that converts elements in a numeric array into a different class. Example: a = [1:5]; % class: double b...

plus de 9 ans il y a

Charger plus