Community Profile

photo

michaelborg


Cranfield university

Active since 2011

Followers: 0   Following: 0

Message

Statistics

All
  • Thankful Level 1
  • Solver

View badges

Feeds

View by

Question


Simulink model in rapid accelerator model run using 'sim' command issue with Windows 8
Hi, I have a Simulink model I am trying to run using MATLAB R2014a in Windows 8. The Simulink has both standard MATLAB blocks...

9 years ago | 0 answers | 0

0

answers

Question


Large RAM requirements for Simulink simulations
Hi, I have developed a Simulink model with a number of MATLAB m-function blocks that have to handle a number of 3D and 4D arr...

10 years ago | 1 answer | 0

1

answer

Question


Using parallel computing WITHIN a Simulink simulation
I have a for loop within a my simulink model (using the For Iterator block). In my case, I have around 2000-3000 iterations each...

11 years ago | 1 answer | 0

1

answer

Question


MEX compiler error - not able to compile mexfunction
When trying to compile fortran code with mex, the following errors appearing: mexaddon.f(1): error #5149: Illegal characte...

11 years ago | 2 answers | 0

2

answers

Question


'Make Error' when starting Simulink simulation
I am getting a Make Error with the following message: Making simulation target "DP_ForceRAOnew_sfun", ... C:\Users\Mic...

12 years ago | 2 answers | 0

2

answers

Solved


Pizza!
Given a circular pizza with radius _z_ and thickness _a_, return the pizza's volume. [ _z_ is first input argument.] Non-scor...

12 years ago

Solved


Create times-tables
At one time or another, we all had to memorize boring times tables. 5 times 5 is 25. 5 times 6 is 30. 12 times 12 is way more th...

12 years ago

Solved


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

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

12 years ago

Solved


Swap the first and last columns
Flip the outermost columns of matrix A, so that the first column becomes the last and the last column becomes the first. All oth...

12 years ago

Solved


Fibonacci sequence
Calculate the nth Fibonacci number. Given n, return f where f = fib(n) and f(1) = 1, f(2) = 1, f(3) = 2, ... Examples: Inpu...

12 years ago

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

12 years ago

Solved


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

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

12 years ago

Question


FORTRAN code in MATLAB
I need to integrate a FORTRAN code into MATLAB. Which of the following options is more reliable, efficient (performance-wise), e...

12 years ago | 2 answers | 0

2

answers