Community Profile

# Daniel Pereira

Last seen: 29일 전 2013년부터 활동

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

All

배지 보기

#### Content Feed

보기 기준

답변 있음
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,...

약 6년 전 | 0

답변 있음
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...

약 6년 전 | 0

질문

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

약 6년 전 | 답변 수: 4 | 0

### 4

답변

질문

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

7년 이하 전 | 답변 수: 0 | 0

### 0

답변

답변 있음
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...

8년 이상 전 | 0

답변 있음
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...

8년 이상 전 | 0

| 수락됨

질문

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

8년 이상 전 | 답변 수: 1 | 0

### 1

답변

답변 있음
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.^...

9년 이상 전 | 0

답변 있음
I have data which class is char. I need to write this data in word doc. Which function I need to use?
try <http://www.mathworks.com/matlabcentral/fileexchange/15192-officedoc-readwriteformat-ms-office-docs-xlsdocppt> for writning...

9년 이상 전 | 0

| 수락됨

답변 있음
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] ...

9년 이상 전 | 1

질문

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

9년 이상 전 | 답변 수: 0 | 0

답변