Community Profile

# Daniel Pereira

Last seen: circa 2 mesi fa Attivo dal 2013

Industrial Engineer, with more than 10 years experience in power plants modelling, and H2020 innovation projects.

All

#### Content Feed

Visto da

Risposto
I need to limit a data set to 1000 points between -pi and pi
I think this is what you want: t = linspace(-pi,pi,100); y = 10*cos(2*t); plot(t,y); % Pretty plot set(gca,...

oltre 6 anni fa | 0

Risposto
To simulate my work
What is the question here and what is that code? I suggest you to be tidier with code, making it easier to debug and to maint...

oltre 6 anni fa | 0

Domanda

Error using FreezePanes in Excel
Hello. I am trying to do such a simple operation as freezing panes in excel, providing the split row and the split column. I ...

oltre 6 anni fa | 4 risposte | 0

### 4

risposte

Domanda

In Simulink, which option is more efficient, regarding computational cost?
I've got a Simulink model with a division of two signals that are *always greater than or equal to 0*. I know that this division...

oltre 7 anni fa | 0 risposte | 0

### 0

risposte

Risposto
How to plot wind rose according to u and v components
You can use my tool *Wind Rose* Pretty simple, I think. <http://www.mathworks.com/matlabcentral/fileexchange/47248-wi...

quasi 9 anni fa | 0

Risposto
programming with matlab and .NET C#
I would suggest what I think is the easiest way: If MODELFUN is a matlab function handle, use inside your "matlab method" the...

circa 9 anni fa | 0

| accettato

Domanda

bsxfun vs for loop. Code Optimization.
Hello everyone. I'm trying to optimize some code that is running in a _for_ loop. The code is the following: for k=... ...

circa 9 anni fa | 1 risposta | 0

### 1

risposta

Risposto
Fit in matlab equations
Did you try z = x^-3; p = polyfit(z,y,1) then yy = p(1) * z + p(2); which has the form yy = a * x.^...

quasi 10 anni fa | 0

Risposto
I have data which class is char. I need to write this data in word doc. Which function I need to use?

quasi 10 anni fa | 0

| accettato

Risposto
reading a number from a string
x = sscanf(str,'(%d,%d) IS [%d] %s %d,%d %s'); num = x([1 2 3 5 6]); when using str='(0020,0013) IS [98] ...

quasi 10 anni fa | 1

Domanda

Running an exe built with rapid simulation target with Initial states as input
I've compiled a simulink model with rapid simulation target, so now I have an .exe file. As usually, I can tell the exe to ru...

quasi 10 anni fa | 0 risposte | 0

risposte