Community Profile

photo

Haijia Zhu


Last seen: 4 dagen ago Active since 2016

Followers: 0   Following: 0

Message

Statistics

All
  • Solver

View badges

Feeds

View by

Solved


Make the vector [1 2 3 4 5 6 7 8 9 10]
In MATLAB, you create a vector by enclosing the elements in square brackets like so: x = [1 2 3 4] Commas are optional, s...

6 maanden ago

Solved


Return area of square
Side of square=input=a Area=output=b

6 maanden ago

Solved


Maximum value in a matrix
Find the maximum value in the given matrix. For example, if A = [1 2 3; 4 7 8; 0 9 1]; then the answer is 9.

6 maanden ago

Solved


Find the sum of all the numbers of the input vector
Find the sum of all the numbers of the input vector x. Examples: Input x = [1 2 3 5] Output y is 11 Input x ...

6 maanden ago

Solved


Add two numbers
Given a and b, return the sum a+b in c.

6 maanden ago

Solved


Pizza!
Given a circular pizza with radius _z_ and thickness _a_, return the pizza's volume. [ _z_ is first input argument.] Non-scor...

bijna 2 jaar ago

Solved


Times 2 - START HERE
Try out this test problem first. Given the variable x as your input, multiply it by two and put the result in y. Examples:...

bijna 2 jaar ago

Solved


Sum all integers from 1 to 2^n
Given the number x, y must be the summation of all integers from 1 to 2^x. For instance if x=2 then y must be 1+2+3+4=10.

ongeveer 4 jaar ago

Solved


Project Euler: Problem 6, Natural numbers, squares and sums.
The sum of the squares of the first ten natural numbers is, 1^2 + 2^2 + ... + 10^2 = 385 The square of the sum of the first ...

ongeveer 4 jaar ago

Solved


Project Euler: Problem 2, Sum of even Fibonacci
Each new term in the Fibonacci sequence is generated by adding the previous two terms. By starting with 1 and 2, the first 10 te...

meer dan 5 jaar ago

Solved


Project Euler: Problem 1, Multiples of 3 and 5
If we list all the natural numbers below 10 that are multiples of 3 or 5, we get 3, 5, 6 and 9. The sum of these multiples is 23...

meer dan 5 jaar ago

Question


2d Minimum block return wrong idx and value
Hi, I'm looking for the min value in a 160000*1 vector using 2d minimum block from computer vision toolbox. There are some nan e...

bijna 6 jaar ago | 0 answers | 0

0

answers

Question


out of memory when using rapid accelerater and sim
I have a HEV model and i need to tune a variable using GA. However, I encounter a difficulties. When i call the model from a m...

bijna 8 jaar ago | 0 answers | 0

0

answers

Question


Simulink- user define function - matlab funciton:Size of function not bounded error
I met a problem similar as (http://www.mathworks.com/matlabcentral/newsreader/view_thread/310599),however, things as little diff...

bijna 8 jaar ago | 0 answers | 0

0

answers