Community Profile

photo

xinyuan wu


Last seen: 10 maanden ago Active since 2021

Statistics

All
  • First Answer
  • Solver

View badges

Content Feed

View by

Answered
Use zoom in/out and left/right arrows with ginput
I copy the scrollmotion callback in fucntion zoom to 'ginput' and it can work. You can have a try.

bijna 2 jaar ago | 0

Question


关于22a实时编辑器没有宣传片中介绍的自定义任务功能 live editor, customize tasks
如图,没有看到介绍的这个功能,https://www.bilibili.com/video/BV1AR4y1V7YZ?spm_id_from=333.976.top_right_bar_window_history.content.click

bijna 2 jaar ago | 0 answers | 0

0

answers

Solved


Arrange Vector in descending order
If x=[0,3,4,2,1] then y=[4,3,2,1,0]

ongeveer 3 jaar ago

Solved


Pattern matching
Given a matrix, m-by-n, find all the rows that have the same "increase, decrease, or stay same" pattern going across the columns...

ongeveer 3 jaar ago

Solved


Who invented zero?
We know the importance zero in computer science, mathematics... but who invented zero? Clue: He was the first in the line ...

ongeveer 3 jaar ago

Solved


We love vectorized solutions. Problem 1 : remove the row average.
Given a 2-d matrix, remove the row average from each row. Your solution MUST be vectorized. The solution will be tested for ac...

ongeveer 3 jaar ago

Solved


y equals x divided by 2
function y = x/2

ongeveer 3 jaar ago

Solved


Are you in or are you out?
Given vertices specified by the vectors xv and yv, and a single point specified by the numbers X and Y, return "true" if the poi...

ongeveer 3 jaar ago

Solved


03 - Matrix Variables 1
Make the following variable: <<http://samle.dk/STTBDP/Assignment1_3a.png>> A 9x9 matrix full of 2's (Hint: use *ones* o...

ongeveer 3 jaar ago

Solved


Find all elements less than 0 or greater than 10 and replace them with NaN
Given an input vector x, find all elements of x less than 0 or greater than 10 and replace them with NaN. Example: Input ...

ongeveer 3 jaar ago

Solved


02 - Vector Variables 2
Make the following variable: <<http://samle.dk/STTBDP/Assignment1_2b.png>>

ongeveer 3 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 3 jaar ago

Solved


Make a random, non-repeating vector.
This is a basic MATLAB operation. It is for instructional purposes. --- If you want to get a random permutation of integer...

ongeveer 3 jaar ago

Solved


Count ones
Write a program to count number of ones (1s) in an integer variable input. For example: Input x=2200112231 output y=3 I...

ongeveer 3 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 3 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 3 jaar ago

Solved


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

ongeveer 3 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 3 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 3 jaar ago

Solved


Is my wife right?
Regardless of input, output the string 'yes'.

ongeveer 3 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 3 jaar ago