photo

Paulo Silva


Actif depuis 2010

Followers: 0   Following: 0

Message

Just done my Masters degree in Control and Industrial Electronics, I also have one licenciates degree in Electrical Engineering and Computer Science.

I love to use MATLAB and to help others using it, everyday I learn something new.

Currently teaching and supporting students with several projects that use MATLAB for Biomedical Imaging.

Please don't send me emails asking for code or help, I will only help the best I can here at MATLAB Answers.
Professional Interests: Control engineering, biking, growing organic food, permaculture student (nature is my teacher)

Statistiques

All
MATLAB Answers

14 Questions
953 Réponses

File Exchange

4 Fichiers

Cody

0 Problèmes
24 Solutions

Discussions

4 Points forts

RANG
62
of 301 045

RÉPUTATION
2 919

CONTRIBUTIONS
14 Questions
953 Réponses

ACCEPTATION DE VOS RÉPONSES
57.14%

VOTES REÇUS
685

RANG
3 034 of 21 156

RÉPUTATION
544

CLASSEMENT MOYEN
4.40

CONTRIBUTIONS
4 Fichiers

TÉLÉCHARGEMENTS
4

ALL TIME TÉLÉCHARGEMENTS
5150

RANG
21 447
of 172 524

CONTRIBUTIONS
0 Problèmes
24 Solutions

SCORE
250

NOMBRE DE BADGES
1

CONTRIBUTIONS
0 Publications

CONTRIBUTIONS
0 Public Chaîne

CLASSEMENT MOYEN

CONTRIBUTIONS
4 Points forts

NOMBRE MOYEN DE LIKES
9

  • Personal Best Downloads Level 1
  • First Review
  • 5-Star Galaxy Level 3
  • First Submission
  • 6 Month Streak
  • Thankful Level 3
  • Guiding Light
  • Knowledgeable Level 5
  • First Answer
  • Solver

Afficher les badges

Feeds

Réponse apportée
Exponential transfer function
<http://www.mathworks.com/help/control/ug/models-with-time-delays.html Models with time delays>

presque 11 ans il y a | 0

| A accepté

Réponse apportée
Looking for example code for Minimum Variance Control Systems
<http://www.amazon.com/Computer-Controlled-Systems-Theory-Electrical-Engineering/dp/0486486133/ref=sr_1_1?s=books&ie=UTF8&qid=14...

presque 11 ans il y a | 0

Réponse apportée
Getappdata and setappdata
<http://blogs.mathworks.com/videos/2011/11/23/passing-data-between-guide-callbacks-without-globals-in-matlab/ Passing data betwe...

plus de 11 ans il y a | 0

Réponse apportée
Draw polar curves
t=0:0.01:2*pi; polar(t,abs(sin(t/2).*cos(t/2)));

environ 14 ans il y a | 0

| A accepté

Réponse apportée
Simulink bit operations
[1 0]------>Gain(-1)----->[-1 0] Use the Gain block and define that gain as -1

environ 14 ans il y a | 0

Réponse apportée
Generate Square Wave
Here's my crazy way to do it, I'm assuming some values for example the sampling time. This way doesn't require any toolboxes, an...

environ 14 ans il y a | 1

Réponse apportée
Transfer Function in Simulink
Use those variables (a and b) in the simulation, define them in the workspace with default values before the simulation starts ...

environ 14 ans il y a | 0

| A accepté

Réponse apportée
multiple bode plots on same graph
Maybe something with *hold on*?! g = tf([1 0.1 7.5],[1 0.12 9 0 0]); bode(g) hold on g = tf([1],[1 0.12 9 0 0]); ...

environ 14 ans il y a | 1

Réponse apportée
vectors from array
a=randi(5,3,5) %sample array %put all columns of the array in diferent cells b=arrayfun(@(x)a(:,x),1:size(a,2),'un...

environ 14 ans il y a | 0

Réponse apportée
Reset button
set(findobj(0,'style','edit'),'string','') %put this in the button callback %that should clear all edit uicontrols or s...

environ 14 ans il y a | 2

Réponse apportée
Repetition of rows of a matrix maintaining the number of columns
A=[ 1 2 3 4 5 6] N=1; %number of repeats kron(A,ones(N+1,1))

environ 14 ans il y a | 1

Réponse apportée
Frequence of the signal
From the MATLAB documentation of the fft function: Fs = 1000; % Sampling frequency T = 1/Fs; ...

environ 14 ans il y a | 0

Réponse apportée
compute number of pulses for ECG signal
Find the number of peaks with the Signal Processing Toolbox™ *findpeaks* function or one similar function from the <http://www.m...

environ 14 ans il y a | 0

Réponse apportée
MATLAB - Stop execution of .m file while Simulink is running
Use the Simulink *sim* function instead to start the simulation, that way after the simulation is over the code continues execut...

environ 14 ans il y a | 1

Réponse apportée
How to divide and times in matlab
1/sqrt(R^2+(w*L-1/(w*C))^2) if perhaps you are working with arrays or vectors and you want the operations to be performed ele...

environ 14 ans il y a | 1

Réponse apportée
Are you convert matlab code to visual basic code form for me, please?
clc,clear all x = 0:0.2:1; % get a dimensional array of real number type fid = fopen('dene3.txt','w';); ...

environ 14 ans il y a | 0

Réponse apportée
finding a mathematical function that passes from specified points
x=[10 30 50 100 125 250 350 500 550 750 1000]; y=[91 92 93.2 93.5 94 95.2 95.4 95.1 95 94.5 93.8]; plot(x,y,'o') n=8;...

environ 14 ans il y a | 1

| A accepté

Réponse apportée
Comparing two matrices, and acting upon the result element by element.
A=randi(5,3,3) B=10*randi(5,3,3)+5 v=2 %your specific value A(A==v)=B(A==v) %replace elements of A equal t...

environ 14 ans il y a | 0

| A accepté

Réponse apportée
Using Figure
doc subplot example t=0.01:0.01:1; x=rand(100,2); subplot(211) plot(t,x(:,1),'red','linewidth',2 ) xlabel('Time (s...

environ 14 ans il y a | 1

Réponse apportée
how do I reshape an array into a matrix that has dimensions of (user indicated number) by 4?
parameter =[1 2 3 4 1 2 3 4 1 2 3 4] reshape(parameter,4,3)

environ 14 ans il y a | 0

Réponse apportée
Creating a distance matrix in Matlab?
On the Neural Network Toolbox™ you have the mandist function that seems to do what you need, if you don't have that toolbox try ...

environ 14 ans il y a | 0

Réponse apportée
Matrix - empty selected cells
You might encounter problems when removing values from array because the dimensions must be consistent M = [ 1.23 1.34-4i 275...

environ 14 ans il y a | 0

Réponse apportée
Create Labview/Simulink like environment with GUIDE?
I'm not familiar with Labview but I made several GUI's that control Simulink simulations, you can have something like this <http...

environ 14 ans il y a | 0

Réponse apportée
Help needed displaying multiple plots (and maybe preassigning too)
doc hold %allows you to have more than one plot on a axes doc subplot %if you want more than one axes on a figure <ht...

environ 14 ans il y a | 0

Réponse apportée
output
A=[20 30 40 50] MATLAB index values start at 1 not 0

environ 14 ans il y a | 0

Réponse apportée
Detect P-code
Maybe this: a=dbstack('-completenames'); if (isempty(strfind(a.file,'.m'))) disp('pcode') else disp('mfile') ...

environ 14 ans il y a | 0

| A accepté

Réponse apportée
In an assignment A(I) = B, the number of elements in B and I must be the same.
syms t x=-3:.1:3; for i=1:length(x); Pin=3*exp(-t^2); z=x(i); Eo(i)=int(Pin,t,-inf,z); ...

environ 14 ans il y a | 0

Réponse apportée
Return the number of rows of an array of cell data
doc cellfun

environ 14 ans il y a | 0

Réponse apportée
Expression (equation)
Simplest version I can think of t=0:0.1:100; % Time vector A=0.1; % Value of A that you can c...

environ 14 ans il y a | 0

| A accepté

Réponse apportée
problem in using symbols
doc vpa %just a wild guess of something that might be useful to you

environ 14 ans il y a | 0

Charger plus