John Smith
Followers: 0 Following: 0
Feeds
提问
Constant block only outputs a single data point
Hi everyone, Constant blocks in Simulink have started behaving strangely for me very suddenly. As in the title - the constant b...
4 years 前 | 2 个回答 | 1
2
个回答提问
Previous Value of Numeric Edit Field
Hi all, Is there a quick way to reference the previous value of an App Deigner numeric edit field? This is in order to reset th...
5 years 前 | 2 个回答 | 0
2
个回答已解决
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...
6 years 前
已解决
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.
6 years 前
已解决
Weighted average
Given two lists of numbers, determine the weighted average. Example [1 2 3] and [10 15 20] should result in 33.333...
6 years 前
已解决
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 years 前
已解决
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 years 前
已解决
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:...
6 years 前