Feeds
제출됨
Enumeration Manager
Manage Simulink enumeration classes without writing a single line of code
3개월 전 | 다운로드 수: 5 |
답변 있음
How to Convert Entity Attribute Buses into Signal for RL Agent Observation Input?
Hi Aaron, To convert an entity attribute into a signal, you can use a Simulink function. For example, to get the D attribute as...
How to Convert Entity Attribute Buses into Signal for RL Agent Observation Input?
Hi Aaron, To convert an entity attribute into a signal, you can use a Simulink function. For example, to get the D attribute as...
4개월 전 | 0
| 수락됨
답변 있음
Error in server block that is connected to entity generator containing bus elements.
Hi Aaron, From what I can see in the Part Generator, in tab "Entity type", your entities are typed with the bus definition "Par...
Error in server block that is connected to entity generator containing bus elements.
Hi Aaron, From what I can see in the Part Generator, in tab "Entity type", your entities are typed with the bus definition "Par...
4개월 전 | 0
| 수락됨
답변 있음
Is it possible in SimEvents to define entity attributes using a MATLAB script?
I see several ways to achieve this. 1. You could store your Entity Generator block with the required Enty Type definition in a ...
Is it possible in SimEvents to define entity attributes using a MATLAB script?
I see several ways to achieve this. 1. You could store your Entity Generator block with the required Enty Type definition in a ...
6개월 전 | 1
| 수락됨
답변 있음
Use Vars(Enums) from Workspace in SimEvent EntityGenerator
Hi Simon, Did you create the Workpieces enum with a class m-file? How did you configure the entity type of your Entity Generat...
Use Vars(Enums) from Workspace in SimEvent EntityGenerator
Hi Simon, Did you create the Workpieces enum with a class m-file? How did you configure the entity type of your Entity Generat...
대략 1년 전 | 1
제출됨
Adaptive Logging Utility
Logging and environment utilities for MATLAB coding
1년 초과 전 | 다운로드 수: 2 |
문제를 풀었습니다
Return the 3n+1 sequence for n
A Collatz sequence is the sequence where, for a given number n, the next number in the sequence is either n/2 if the number is e...
거의 13년 전
문제를 풀었습니다
Given an unsigned integer x, find the largest y by rearranging the bits in x
Given an unsigned integer x, find the largest y by rearranging the bits in x. Example: Input x = 10 Output y is 12 ...
거의 13년 전
문제를 풀었습니다
Count from 0 to N^M in base N.
Return an array of numbers which (effectively) count from 0 to N^M-1 in base N. The result should be returned in a matrix, with ...
거의 13년 전
문제를 풀었습니다
Quote Doubler
Given a string s1, find all occurrences of the single quote character and replace them with two occurrences of the single quote ...
거의 13년 전
문제를 풀었습니다
Nearest Numbers
Given a row vector of numbers, find the indices of the two nearest numbers. Examples: [index1 index2] = nearestNumbers([2 5 3...
거의 13년 전
문제를 풀었습니다
The Goldbach Conjecture
The <http://en.wikipedia.org/wiki/Goldbach's_conjecture Goldbach conjecture> asserts that every even integer greater than 2 can ...
거의 13년 전
문제를 풀었습니다
Weighted average
Given two lists of numbers, determine the weighted average. Example [1 2 3] and [10 15 20] should result in 33.333...
거의 13년 전
문제를 풀었습니다
How to find the position of an element in a vector without using the find function
Write a function posX=findPosition(x,y) where x is a vector and y is the number that you are searching for. Examples: fin...
거의 13년 전
문제를 풀었습니다
Back and Forth Rows
Given a number n, create an n-by-n matrix in which the integers from 1 to n^2 wind back and forth along the rows as shown in the...
거의 13년 전
문제를 풀었습니다
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...
거의 13년 전
문제를 풀었습니다
Who Has the Most Change?
You have a matrix for which each row is a person and the columns represent the number of quarters, nickels, dimes, and pennies t...
거의 13년 전
문제를 풀었습니다
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 ...
거의 13년 전
문제를 풀었습니다
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 ...
거의 13년 전
문제를 풀었습니다
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:...
거의 13년 전