Community Profile

photo

Huayan Wang


Last seen: bijna 2 jaar ago Active since 2018

Statistics

All
  • Thankful Level 2
  • First Review
  • Solver
  • Thankful Level 1

View badges

Content Feed

View by

Solved


Length of a short side
Calculate the length of the short side, a, of a right-angled triangle with hypotenuse of length c, and other short side of lengt...

ongeveer 2 jaar ago

Solved


Length of the hypotenuse
Given short sides of lengths a and b, calculate the length c of the hypotenuse of the right-angled triangle. <<https://i.imgu...

ongeveer 2 jaar ago

Solved


Triangle Numbers
Triangle numbers are the sums of successive integers. So 6 is a triangle number because 6 = 1 + 2 + 3 which can be displa...

ongeveer 2 jaar ago

Solved


Finding Perfect Squares
Given a vector of numbers, return true if one of the numbers is a square of one of the other numbers. Otherwise return false. E...

ongeveer 5 jaar ago

Solved


Generate a vector like 1,2,2,3,3,3,4,4,4,4
Generate a vector like 1,2,2,3,3,3,4,4,4,4 So if n = 3, then return [1 2 2 3 3 3] And if n = 5, then return [1 2 2...

ongeveer 5 jaar 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...

ongeveer 5 jaar ago

Solved


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

ongeveer 5 jaar 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.

ongeveer 5 jaar ago

Question


choose points lie near a line on a surface plot
I have a meshgrid of [x y] = meshgrid(1:100,1:100); z could be any function of the x and y or some experimental data. Then m...

ongeveer 6 jaar ago | 0 answers | 0

0

answers

Question


how to superimpose a surface plot on a different size gray scale image
I have a grayscale image which has a size of 2448*2048. I have a surface plot on a mesh grid of (1:110, 1:92) Their data n...

ongeveer 6 jaar ago | 1 answer | 0

1

answer

Solved


Column Removal
Remove the nth column from input matrix A and return the resulting matrix in output B. So if A = [1 2 3; 4 5 6]; and ...

ongeveer 6 jaar ago

Solved


Make a checkerboard matrix
Given an integer n, make an n-by-n matrix made up of alternating ones and zeros as shown below. The a(1,1) should be 1. Examp...

ongeveer 6 jaar ago

Solved


Select every other element of a vector
Write a function which returns every other element of the vector passed in. That is, it returns the all odd-numbered elements, s...

ongeveer 6 jaar ago

Solved


Determine if input is odd
Given the input n, return true if n is odd or false if n is even.

ongeveer 6 jaar ago

Solved


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

ongeveer 6 jaar 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 ...

ongeveer 6 jaar ago

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

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

ongeveer 6 jaar ago

Question


GUI plot listening to several components value chage
I have a pushbutton, radio button and checkbox to control one plot in GUI. I would press the pushbutton to plot and then ever...

ongeveer 6 jaar ago | 0 answers | 0

0

answers

Question


pushbutton to change the button string and function
I am using the GUI to make an image acquisition application. I use a pushbutton to control the camera on and off. The initial...

ongeveer 6 jaar ago | 1 answer | 0

1

answer

Question


Can I use UIAxes to stream live video from a camera and how?
I am using R2017b App designer to develop an image acquisition program. Anybody can tell me can I do it through the UIAxes co...

ongeveer 6 jaar ago | 1 answer | 0

1

answer

Question


How to change UIAxes Initial appearance?
I am using R2017b App Designer. When I drag an UIAxes component into the canvas, the Appearance of the Axes Properties at the...

ongeveer 6 jaar ago | 1 answer | 0

1

answer