photo

Laurent Royer

MathWorks

Last seen: Today 自 2012 起处于活动状态

Followers: 0   Following: 1

消息

Programming Languages:
C, MATLAB
Spoken Languages:
English, French
Pronouns:
He/him

统计学

All
MATLAB Answers

0 个提问
8 个回答

File Exchange

2 文件

Cody

0 个问题
15 个答案

排名
2,694
of 300,124

声誉
22

贡献数
0 个提问
8 个回答

回答接受率
0.00%

收到投票数
2

排名
14,401 of 20,879

声誉
16

平均
0.00

贡献数
2 文件

下载次数
8

ALL TIME 下载次数
121

排名
30,038
of 167,452

贡献数
0 个问题
15 个答案

评分
160

徽章数量
1

贡献数
0 帖子

贡献数
0 公开的 个频道

平均

贡献数
0 个亮点

平均赞数

  • Knowledgeable Level 2
  • Personal Best Downloads Level 1
  • First Answer
  • First Review
  • First Submission
  • GitHub Submissions Level 1
  • Solver

查看徽章

Feeds

排序方式:

已提交


Enumeration Manager
Manage Simulink enumeration classes without writing a single line of code

2 months 前 | 6 次下载 |

0.0 / 5
Thumbnail

已回答
Facing resource Acquirer, how to set serveral resources to acquire
Try set_param(acquirerPath, "ResourceName", "Crane|Station", "ResourceAmountSource", "Dialog|Dialog", "ResourceAmount", "2|1");...

3 months 前 | 0

| 已接受

已回答
I cannot change the number of resources over simulation time in SimEvents (Version 23.2 R2023b)
Hi Albert, The Resource Pool block should receive an entity, and I'm guessing your MATLAB function "AssistantsCreation" is not ...

7 months 前 | 0

已回答
Can a signal go to a server ? in simulink
Hi John, Does the attached example fit your need? Run the simulation and open the Data Inspector to compare the server block an...

8 months 前 | 0

已回答
Can not save enumeration created by Stateflow
Hi @Andy Thanks for your question about enumerations for states monitoring! It gave me the idea to add a new feature to this En...

11 months 前 | 0

已回答
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...

1 year 前 | 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...

1 year 前 | 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 ...

1 year 前 | 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...

2 years 前 | 1

已提交


Adaptive Logging Utility
Logging and environment utilities for MATLAB coding

2 years 前 | 2 次下载 |

0.0 / 5

已解决


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 years 前

已解决


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 years 前

已解决


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 years 前

已解决


Check if sorted
Check if sorted. Example: Input x = [1 2 0] Output y is 0

13 years 前

已解决


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 years 前

已解决


Nearest Numbers
Given a row vector of numbers, find the indices of the two nearest numbers. Examples: [index1 index2] = nearestNumbers([2 5 3...

13 years 前

已解决


The Goldbach Conjecture
The <http://en.wikipedia.org/wiki/Goldbach's_conjecture Goldbach conjecture> asserts that every even integer greater than 2 can ...

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

13 years 前

已解决


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 years 前

已解决


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 years 前

已解决


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 years 前

已解决


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 years 前

已解决


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 years 前

已解决


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

13 years 前