Gelöst


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

fast 10 Jahre vor

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

fast 10 Jahre vor | 4

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

fast 10 Jahre vor | 3

Gelöst


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

fast 10 Jahre vor

Gelöst


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

fast 10 Jahre vor

Gelöst


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]

fast 10 Jahre vor

Gelöst


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

fast 10 Jahre vor

Problem


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

fast 10 Jahre vor | 2 | 23 Lösungsvorschläge

Gelöst


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

fast 10 Jahre vor

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

fast 10 Jahre vor | 3

Gelöst


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

fast 10 Jahre vor

Gelöst


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

fast 10 Jahre vor

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

fast 10 Jahre vor | 6

| akzeptiert

Gelöst


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

fast 10 Jahre vor

Gelöst


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

fast 10 Jahre vor

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

fast 10 Jahre vor | 3

| akzeptiert

Gelöst


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

fast 10 Jahre vor

Gelöst


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

fast 10 Jahre vor

Gelöst


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

fast 10 Jahre vor

Gelöst


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

fast 10 Jahre vor

Beantwortet
Fix for " The input to DATENUM was not an array of strings."
Most probably your variable "date" is not an array of strings.

fast 10 Jahre vor | 3

Gelöst


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

fast 10 Jahre vor

Gelöst


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

fast 10 Jahre vor

Gelöst


Your favourite city!
Type your favourite city.

fast 10 Jahre vor

Gelöst


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

fast 10 Jahre vor

Gelöst


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

fast 10 Jahre vor

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

fast 10 Jahre vor | 3

| akzeptiert

Gelöst


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

fast 10 Jahre vor

Gelöst


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

fast 10 Jahre vor

Gelöst


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

fast 10 Jahre vor

Mehr laden