Pedro Villena
Followers: 0 Following: 0
Mechanical Engineering,
Industrial Automation Engineering,
Aerospace Engineering.
Statistics
RANK
273
of 295 527
REPUTATION
324
CONTRIBUTIONS
0 Questions
64 Answers
ANSWER ACCEPTANCE
0.00%
VOTES RECEIVED
22
RANK
6 656 of 20 242
REPUTATION
159
AVERAGE RATING
4.20
CONTRIBUTIONS
2 Files
DOWNLOADS
5
ALL TIME DOWNLOADS
1327
CONTRIBUTIONS
0 Posts
CONTRIBUTIONS
0 Public Channels
AVERAGE RATING
CONTRIBUTIONS
0 Highlights
AVERAGE NO. OF LIKES
Feeds
Can't enter if statement
if round(s*1000)/1000 == 0.025, ... end
mer än 10 år ago | 0
| accepted
Can anyone please debug the error
You had made some errors: * symsum is a symbolic command for symbolic variables. symsum(x(k),k,0,9) -> sum(x) * i...
mer än 10 år ago | 0
| accepted
How can I write a function called triAreaN that computes the area of N triangles?
function A = triAreaN(B,H) if numel(B)==numel(H), A = 0.5*(B.*H); else error('B and H must be same length'); e...
nästan 11 år ago | 0
| accepted
how to create speech waves with equal loudness in matlab
I suggest you to use Microsoft Anna (Text to Speech) and save the sound in a *.wav file or *.mp3 file. Then import the sound ...
ungefär 11 år ago | 0
| accepted
How do I remove background noise from a sound wave?
Create and Implement LMS Adaptive Filter to remove the filtered noise from desired signal mtlb_noisy = y; noise = n; ...
ungefär 11 år ago | 4
| accepted
how can I convert a binary matrix to a linear data?
reshape(A',1,[])
nästan 12 år ago | 2
| accepted
Renaming file name with variable.
e = '20120319'; copyfile('TempFile.htm',[e '.htm']);
nästan 12 år ago | 0
| accepted
best way to store large time series data
The *EAS3* file format is used to *store floating point data in IEEE format and to exchange the files between different computer...
nästan 12 år ago | 0
| accepted
getting smaller arrays in sequence from a big array
A = randi(100,1,1000); %matrix of 1x1000 n = 100; for i=1:floor(numel(A)/n), eval(sprintf('A%d=A(%d:%d);',i,(i-1)*n+...
nästan 12 år ago | 1
| accepted
how to convert .bmp to .txt file
rgb = imread('myImageFile.bmp'); dlmwrite('myImageFile.txt',rgb);
nästan 12 år ago | 1
| accepted
Data Acquisition (Really easy question)
global dioLine ledsLine DIO = digitalio('mcc','0'); if isempty(dioLine) dioLine = addline(DIO,0:7,1,'out'); ...
nästan 12 år ago | 0
| accepted
How can I replicate this matrix
n=3; %% three times m=2; %% plus two times for the final row F2 = []; for k=1:size(F,1), F2 = [F2; repmat(F(k,...
nästan 12 år ago | 0
| accepted
How do I set a loop for ODE?
correction in your script: [t,X] = ode45(@SORODE_Z,tspan,X0,options,z);
nästan 12 år ago | 0
| accepted
Concatenate cells: making column and row headers
table(2:numel(row)+1) = row; table(2:numel(col)+1,1) = col;
nästan 12 år ago | 0
| accepted
Can somebody tell me what is wrong with the following code?
num2str(u) doc num2str
nästan 12 år ago | 0
| accepted
How do I estimate a transfer function and a bode response from sample data ?
Use an Nonparametric System Identification Theory, like *Ziegler-Nichols Method*. Ziegler-Nichols Method is a graphical techn...
nästan 12 år ago | 0
| accepted
How to save, for loop
for i=1:n, X = DATA1(i,1); %% DATA1 is an array Y = DATA2{i,1}; %% DATA2 is a cell Z(i,:) = X-Y; end save Z ...
nästan 12 år ago | 0
| accepted
How to read from one column of excel (from row 40 to 80) and can match it with the other column as well?
data = xlsread('1612_2.xls','A40:AF80');
nästan 12 år ago | 1
| accepted
Why the result of acosd (0) only 90?
*ACOSD* is a SISO function that returns only one output value for each input value (real or complex). You could see the behav...
nästan 12 år ago | 0
| accepted
Design a low pass filter for time domain data
* You need the sampling rate to design a digital filter, but if you want to design an analog filter, you don't need the sampling...
nästan 12 år ago | 0
| accepted
Command to calculate the coordinates of points
P = [X (-A-Y)]; P1 = P(1,:) P2 = P(2,:) ...
nästan 12 år ago | 0
| accepted
reshape a matrix in a special manner
A = rand(100,130); step = 10; C = cell2mat(arrayfun(@(i,j) mean(A(:,i:j),2),... 1:step:length(A)-step, 1+step:step:...
nästan 12 år ago | 0
| accepted
Replacing 5 bits in a binary value
C = dec2bin(A); D = dec2bin(B); n = 4; %% start bit position from MSB (1st bit position is 1) C(:,n:n+size(D,2)-1)=D %...
ungefär 12 år ago | 0
| accepted
Microcontroller Implementation for solar power systems in Simulink
<http://www.mathworks.es/es/help/simulink/slref/sfunctionbuilder.html>
ungefär 12 år ago | 0
| accepted
how to make code global
>>arrayfun(@(i) myFunction(i),1:100); *myFunction.m* function [] = myFunction(imageNumber) %RGB = imread('Image100...
ungefär 12 år ago | 1
| accepted
Transfer function in Simulink different from Matlab
Gs = (1/s^2) * (1 - 2*exp(-s*0.5) + exp(-s)) Gs = 1/s^2 - (2/s^2)*exp(-s*0.5) + (1/s^2)*exp(-s) <<http://img846.imageshack...
ungefär 12 år ago | 0
| accepted
finding mean in row wise
mean1 = mean(D(:,1:3),2), mean2 = mean(D(:,4:5),2), mean3 = mean(D(:,6:7),2), or D1 = [37.8518 22.2652 45.1886...
ungefär 12 år ago | 0
| accepted
how to find values from text file
data = textread('lalit.txt'); r = unique(data); for i=r', c = data(data(:,1)==i,2); z(i,1) = mean([min(c) ...
ungefär 12 år ago | 1
| accepted
how to write code for fft?
fs = 5000; t = 0:1/fs:1; signal = rand(size(t)); %%%% test data fft_in = reshape(signal(1:256*floor(numel(signal)/256)),2...
ungefär 12 år ago | 0
| accepted
how to write this in simple m file function
myMFile.m function [S] = myMFile(a,x,K) %w = W-Wmin; w = (0:0.01:3); S = (1-exp(-a.*x.*w).*K;
ungefär 12 år ago | 0
| accepted