已解决


Split bread like the Pharaohs - Egyptian fractions and greedy algorithm
How would you split 5 loaves of bread among 8 people in all fairness? Get a hint from the Pharaohs. 5/8 = 4/8 + 1/8 , i.e. each ...

10 months 前

已解决


Find MPG of Lightest Cars
The file cars.mat contains a table named cars with variables Model, MPG, Horsepower, Weight, and Acceleration for several classi...

1 year 前

已回答
Custom UI Components are removed from re-opened app file
I believe I figured out the problem. While creating another component, I configured it for use in apps at the beginning and repe...

1 year 前 | 0

| 已接受

提问


Custom UI Components are removed from re-opened app file
Custom UI Components that I have created work as expected in an app (.mlapp) file. However, after closing the app file, upon reo...

1 year 前 | 1 个回答 | 0

1

个回答

已解决


Return fibonacci sequence do not use loop and condition version 2
Calculate the nth Fibonacci number,return sequence Given n, return f where f = fib(n) and f(1) = 1, f(2) = 1, f(3) = 2, ... ...

1 year 前

Poll


On the main computer you use for MATLAB, how much RAM is installed?

1 year 前 | 15925 votes | 9 comments

Poll


Do you use test-driven development in MATLAB?

1 year 前 | 1955 votes | 5 comments

Poll


For your Simulink work, do you use Projects (.prj files)?

1 year 前 | 2443 votes | 1 comments

Poll


For your MATLAB work, do you use Projects (.prj files)?

1 year 前 | 4533 votes | 6 comments

已解决


Golomb's self-describing sequence (based on Euler 341)
The Golomb's self-describing sequence {G(n)} is the only nondecreasing sequence of natural numbers such that n appears exactly G...

1 year 前

已解决


Beauty of Parentheses
Given a string consisting of closed parentheses, form a string array in the following way so that the orders of these parenthese...

1 year 前

已解决


Return a list sorted by number of consecutive occurrences
Inspired by Problem 38 by Cody Team. Given a vector x, return a vector y of the values in x sorted by the number of CONSECUTIVE ...

1 year 前

已解决


Laws of motion 4
Given the initial velocity 'u', final velocity 'v' and acceleration 'a', find the distance travelled.

1 year 前

已解决


Coefficient of Sliding Friction
A weight of W1 N rests on a horizontal plane. The plane is gradually inclined until at an angle θ = Ao with the horizontal, the ...

1 year 前

已解决


Laws of motion 3

1 year 前

已解决


Calculate BMI
Given weight in kgs and height in metres, calculate body mass index

1 year 前

已解决


Who is using Cody?
Return your 'username' as char vector. Hint: no personal info are revealed, just use basic commands (not only Matlab).

1 year 前

已解决


Find gradient of a numeric data which has same size as the existing vector.
**** Refer matlab documentation about finding gradient **** Convert the entire gradient vector to least integer form. (Probably...

1 year 前

已解决


Identify de Polignac numbers
The numbers 125 and 329 can be written as the sum of a prime and a power of 2. For example, , and . The numbers 127 and 331, whi...

1 year 前

已解决


Armstrong Number
Write a function name armstrong_check that checks whether the given input is an Armstrong Number or not. It returns logical True...

1 year 前

已解决


Zero finder
Write a function named 'zero_finder' that takes a matrix as input and returns the row index of the last zero for each for each c...

1 year 前

已解决


Buzz
Dado um número inteiro n, retorne 'buzz' se esse valor for multiplo de 5, ou retorne o valor caso contrario. Buzz(5) = 'buzz'; ...

1 year 前

已解决


Repeat a string (not a character array)
True string are a relatively recent addition to MATLAB, first having been available in R2016. Strings contrast with character ar...

1 year 前

已解决


Compare a value to a vector
Given a random value X and a random vector Y. you have to compare X to the Vector Y and make a decision. case 1: X is a value i...

1 year 前

已解决


Generate Hadamard Matrix without using hadamard function
In mathematics, a Hadamard matrix, named after the French mathematician Jacques Hadamard, is a square matrix whose entries are e...

1 year 前

已解决


Median filter over three values
Implement 1-D median filter over input vector x as described: Moving window size is 3 Output is middle/central value in moving...

1 year 前

已解决


About jokes (and compression)
An argument can be made about jokes. The shorter they are, the funnier. Further explained here: https://en.wikipedia.org/wiki/Hu...

1 year 前

已解决


An array is given. Find the unique elements of the array. [keep the sequence unchanged]
An array is given. Find the unique elements of the array. [keep the sequence unchanged] For example if input x=[2 ,4 , 9 ,2 ,...

1 year 前

加载更多