Erivelton Gualter
Followers: 0 Following: 0
Estadísticas
2 Preguntas
38 Respuestas
0 Problemas
142 Soluciones
CLASIFICACIÓN
641
of 289.954
REPUTACIÓN
110
CONTRIBUCIONES
2 Preguntas
38 Respuestas
ACEPTACIÓN DE RESPUESTAS
50.0%
VOTOS RECIBIDOS
23
CLASIFICACIÓN
of 19.611
REPUTACIÓN
N/A
EVALUACIÓN MEDIA
0.00
CONTRIBUCIONES
0 Archivos
DESCARGAS
0
ALL TIME DESCARGAS
0
CLASIFICACIÓN
1.204
of 144.341
CONTRIBUCIONES
0 Problemas
142 Soluciones
PUNTUACIÓN
1.761
NÚMERO DE INSIGNIAS
5
CONTRIBUCIONES
0 Publicaciones
CONTRIBUCIONES
0 Público Canales
EVALUACIÓN MEDIA
CONTRIBUCIONES
0 Temas destacados
MEDIA DE ME GUSTA
Feeds
Algebraic Riccati Equation Solution for Code Generation
The solution of riccati equation using Simulink was answed here: https://www.mathworks.com/matlabcentral/answers/87237-lqr-simu...
casi 3 años hace | 0
Pregunta
How to create a multisine signal input using idinput given duration and peak value?
Hello everyone, I am setting up a system identification experiment, and I came across the following example for an industrial a...
casi 3 años hace | 0 respuestas | 0
0
respuestasGenerating random number, mathlab
help rand random_number = rand(1)
más de 4 años hace | 0
Help to Generate triangle wave
There is a function you might use for this task called sawtooth. You might find some help in this page. t = -.4:0.001:.4; ...
más de 4 años hace | 0
how will I replace a string with another string without using strrep?
If you still want to keep your line of thought instead of using Bhaskar approach, which is simpler, you can: % Example entries ...
más de 4 años hace | 0
Pregunta
Is there an alternative way to perform the following matrix transformation?
Is there a better way to perform the following operation. For example, for the following matrix: A = 1 13 25 ...
más de 4 años hace | 2 respuestas | 0
2
respuestasHow do i find x in an equation using the solve command?
Do you have Symbolic Math Toolbox? Try the following: syms x fcn = x-2; solve(fcn == 0)
más de 4 años hace | 1
Why is my plot blank? (New to MATLAB)
Try the following: x = -pi:.1:pi; for i=1:length(x) S(i) = (2.*heaviside(x(i)))-1; end figure plot(S,x,'-r*'); axis([...
más de 4 años hace | 0
Find set of values that are unique to the values in another column
% Mqtrix A =[2 3; 2 6 2 8 4 5 5 9 5 39 5 6] % Get unique values on first collumn un = unique(A(...
más de 4 años hace | 0
| aceptada
Extract Min, Max and mean values for each month of each respective year. (Excel Data)
%% Initialize variables. filename = 'temptable.csv'; delimiter = ','; startRow = 3; %% Format for each line of text: form...
más de 4 años hace | 0
How can I ready a m file form a exe program?
See Kaustubha Govind answers in https://www.mathworks.com/matlabcentral/answers/23369-generating-standalone-executable-file-us...
más de 4 años hace | 0
I'm trying to define a simbolic variable like ¨ syms x ¨. I used to do it but now It doesn't work..
Maybe you do not have the Symbolica Package installed or do not have license. Run the following comand on command windows: ver ...
más de 4 años hace | 1
Help !! Problems Using fmincon
I see that you already have choose your solver, which is fmincon. Go over on the Description of the solver and note it contains ...
más de 4 años hace | 1
How do I compare to matrices with each other?
If I understood right, you want to compare the first 1000 rows of these two matrix. % Sample Matrix A = rand(1000, 3); B = ra...
más de 4 años hace | 1
Running a calculation for an entire array and putting the results into a new array
% Given A as: A = 1:194; % We can simply solve the following: B = 2+2./A;
más de 4 años hace | 0
| aceptada
How to plot individual data on a 2D line graph
See the following example: % Sample Data x = 0:.1:2*pi; y = sin(x); % Find maximun value [max_point, idx] = max(y); fi...
más de 4 años hace | 1
Producing outputs from loop
for N=1:1068 [pks,locs] = findpeaks(xMatrix(:,N),'MinPeakDistance',20,'MinPeakHeight',750); B = rmoutliers(pks,'mean')...
más de 4 años hace | 0
| aceptada
for loop for reading numbers from a matrix in each row
% Matrix a a =[1 2 4; 3 4 5; 5 6 2] % Get size of a [n, m] = size(a); % Run throu...
más de 4 años hace | 0
| aceptada
concatenate column values in a vector
You can use the following line of code: v2 = sum(v1*diag(10.^(length(v1)-1:-1:0)));
más de 4 años hace | 1
Give me some help to solve this problem ?
First, your code shows two different variables: BW and bw. Also, you might adjust the binarization with some threshold. BW = i...
más de 4 años hace | 1
| aceptada
Add text to individual frame using Videowriter.
See the following functions: text or annotation.
más de 4 años hace | 0
| aceptada
matlab not reading images from folder in correct sequence
It had happened to me before. The problem is the files name is sorted in according to the strings. Let's say you have the follo...
más de 4 años hace | 0
How to sum the minor number of each line in a matrix?
Given matrix A as: A = [9 6 3; 8 5 2; 7 4 1]; % Sample Matrix minA = min(A,[],2); % Ret...
más de 4 años hace | 0
creating a matrix from two sets of data
Here is a possible solution: x = [1 2 3 4]; y = [1;2]; nx = length(x); c(1:nx,1) = x; c(1:nx,2) = y(1); c(nx+1:2*n...
más de 4 años hace | 0
creating a matrix from a column vector
Lets say you have your signal (EEG_signal): EEG_signal = rand(1,136704); % Sample SIgnal You can reshape this on matrix format...
más de 4 años hace | 0
| aceptada
Indexing how many times is an element repeated in a matrix in another array
The following piece of code solve your problem: arr = unique(A); for i=1:length(arr) n = arr(i); B(A==n) = 1:length(...
más de 4 años hace | 1
| aceptada
Loop for repeating a process multiple times
You need to use the ./ operator to perform division of arrays. Try this E = 100; I = 1:100; C = 1; Loss ...
más de 4 años hace | 1
| aceptada
i cannot find the minimum values for matrix.
Alternative method to find the minium value for each column: min(T,[],1)
más de 4 años hace | 0
| aceptada
[U,V]=eig(A) , AU won't equal UV
It is not a bug. It depends of the floating point numbers. If you type the following, you will observe that the floating point...
más de 4 años hace | 1
sz means in image segmentation
Let's say you have size = [300 400]. So, img is a matrix of zeros with this size. than you might show. Try the following code: ...
más de 4 años hace | 1