Community Profile

# Diarmaid

Active since 2012

All

#### Content Feed

View by

Question

Disturbance input in MIMO LTI system
Hello! I want to be able to specify disturbance inputs for a MIMO LTI model as given below: s=tf('s'); L1 = (2.3e-3)+(0....

5 years ago | 0 answers | 0

### 0

Solved

Free passes for everyone!
_Simply return the name of the coolest numerical computation software ever_ *Extra reward* (get a _freepass_): As an addit...

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

7 years ago

Solved

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

7 years ago

Solved

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

7 years ago

Solved

Determine if input is odd
Given the input n, return true if n is odd or false if n is even.

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

7 years ago

Question

Can I obtain a matrix representation of a circuit from a SimPowerSystems model?
I'm looking to calculate additional circuit parameters based on the impedance network of a DC system. I think I can do this anal...

7 years ago | 1 answer | 0

### 1

Can I access code underneath a Matlab App?
Perfect. Thank you Walter!!

9 years ago | 0

| accepted

Question

Can I access code underneath a Matlab App?
I'm trying to get to grips with Monte Carlo optimisation and I found this app on mathworks file exchange: http://www.mathwork...

9 years ago | 3 answers | 2

### 3

Question

Can I Tune a Controller with a Large Number of Symbolic Gains using Sisotool?
I'm looking to tune a PR controller with 10 independent gain terms using Sisotool, i.e. Kp,Kr1,Kr2...etc. I need to do th...

9 years ago | 0 answers | 0

### 0

Question

Can I Tune a Controller with a Large Number of Symbolic Gains using Sisotool?
I'm looking to tune a PR controller with 10 independent gain terms using Sisotool, i.e. Kp,Kr1,Kr2...etc. I need to do this s...

9 years ago | 1 answer | 0

### 1

Question

How can I dynamically change a value of resistance during SimPowerSystems simulation?
I'm modelling an uncontrolled three phase rectifier and with the vary the load on the DC bus during simulation but changing the ...

9 years ago | 1 answer | 0

### 1

Question

How do I Display a Library in the Library Browser?
I've followed the help files and created a library and now I want to be able to access it from the Simulink library browser. ...

9 years ago | 1 answer | 1

### 1

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

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

9 years ago

Question

How do I call an M-file containing variables and several S-Function files when opening a custom block in simulink?
Hi, I've created a custom block in simulink and it needs to be used by a large number of people so when it's copied into a mo...

9 years ago | 1 answer | 0

### 1

Question

Can I call variables from a mask dialogue box in an Embedded MATLAB function block without having to connect variable blocks
Hi, I'm looking to use an Embedded MATLAB Function block to calculate two output variables based on a selection of user input...

9 years ago | 1 answer | 1