Feeds
제출됨
Arduino Pinmode Input Pull-Up Simulink Device Driver
Simulink block to set Arduino pinmode(pin, INPUT_PULLUP)
6년 초과 전 | 다운로드 수: 9 |
답변 있음
Arduino Internal Pull Up Mode in Simulink
I created a custom device driver to solve my problem. The block can be found here: <https://www.mathworks.com/matlabcentral/fil...
Arduino Internal Pull Up Mode in Simulink
I created a custom device driver to solve my problem. The block can be found here: <https://www.mathworks.com/matlabcentral/fil...
6년 초과 전 | 0
| 수락됨
질문
Arduino Internal Pull Up Mode in Simulink
Is there a way to set the pin mode to pull up in Simulink? I see there is a <https://www.mathworks.com/help/supportpkg/arduinoi...
6년 초과 전 | 답변 수: 1 | 0
1
답변문제를 풀었습니다
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 ...
6년 초과 전
문제를 풀었습니다
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 ...
6년 초과 전
문제를 풀었습니다
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...
6년 초과 전
문제를 풀었습니다
Determine if input is odd
Given the input n, return true if n is odd or false if n is even.
6년 초과 전
문제를 풀었습니다
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...
6년 초과 전
문제를 풀었습니다
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년 초과 전
문제를 풀었습니다
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년 초과 전
문제를 풀었습니다
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년 초과 전
답변 있음
enable log signals through command line.
I realize this is an old thread and an answer has been accepted, however it appears at the top of google search results. I thoug...
enable log signals through command line.
I realize this is an old thread and an answer has been accepted, however it appears at the top of google search results. I thoug...
대략 7년 전 | 0
질문
Expanding a Matrix with Repmat/Reshape?
I have two vectors: x = [3 6 7 10] y = [2 2 2 4] I am trying to create vector z = [3 3 6 6 7 7 10 10 10 10] ...
7년 초과 전 | 답변 수: 4 | 0
4
답변질문
Shortcuts Gone After Restart
I use a lot of shortcuts (saved in the toolstrip) - to load projects, run commands, etc. They were all there yesterday before ...
7년 초과 전 | 답변 수: 2 | 0
2
답변질문
Best method of adding design patterns to subcharts
I'm new to Stateflow and have a large case structure design pattern taking up a lot of space. I was wondering if I can just add ...
거의 8년 전 | 답변 수: 0 | 0
0
답변답변 있음
GUI remains open while script runs even though close(fig1) is in place.
FWIW, MATLAB's example of uiwait does the same thing my code does... If you use function function GUITest f = figure; ...
GUI remains open while script runs even though close(fig1) is in place.
FWIW, MATLAB's example of uiwait does the same thing my code does... If you use function function GUITest f = figure; ...
대략 10년 전 | 0
질문
GUI remains open while script runs even though close(fig1) is in place.
I created a GUI (did not use GUIDE) to ask the user for input. Initially, the script kept running while the GUI was open and be...
대략 10년 전 | 답변 수: 2 | 0