![photo](/responsive_image/150/150/0/0/0/cache/matlabcentral/profiles/2024022_1522088628775_DEF.jpg)
Sebastian Holmqvist
Chalmers University of Technology
Followers: 0 Following: 0
Estadística
9 Preguntas
14 Respuestas
0 Problemas
15 Soluciones
CLASIFICACIÓN
1.713
of 297.016
REPUTACIÓN
39
CONTRIBUCIONES
9 Preguntas
14 Respuestas
ACEPTACIÓN DE RESPUESTAS
66.67%
VOTOS RECIBIDOS
10
CLASIFICACIÓN
of 20.419
REPUTACIÓN
N/A
EVALUACIÓN MEDIA
0.00
CONTRIBUCIONES
0 Archivos
DESCARGAS
0
ALL TIME DESCARGAS
0
CLASIFICACIÓN
28.294
of 157.725
CONTRIBUCIONES
0 Problemas
15 Soluciones
PUNTUACIÓN
160
NÚMERO DE INSIGNIAS
1
CONTRIBUCIONES
0 Publicaciones
CONTRIBUCIONES
0 Público Canales
EVALUACIÓN MEDIA
CONTRIBUCIONES
0 Temas destacados
MEDIA DE ME GUSTA
Feeds
Possible to vectorize xcorr?
After some time, I realized that x is the same throughout all calculations, which means that I can pre-calculate both it's FFT a...
casi 12 años hace | 0
Pregunta
Possible to vectorize xcorr?
Greetings. Currently my workstation can't keep up when I attempt to calculate the cross correlation for very long signals. ...
casi 12 años hace | 1 respuesta | 0
1
respuestaPregunta
Extreme gain for low pass filter
% Filter constants Wp = 5e3*2*pi; Ws = 9.5e3*2*pi; Rp = 2; Rs = 45; % Butterworth lowest order [n,Wn] = ...
alrededor de 12 años hace | 1 respuesta | 0
1
respuestaPregunta
Arduino Run on Target Hardware + Stateflow
Hi! I'm trying to setup Arduino through Simulink on R2012a and use Stateflow. But when I try to deploy (Run on Target) it com...
más de 12 años hace | 2 respuestas | 0
2
respuestasResuelto
Check if sorted
Check if sorted. Example: Input x = [1 2 0] Output y is 0
más de 12 años hace
Resuelto
Finding Perfect Squares
Given a vector of numbers, return true if one of the numbers is a square of one of the other numbers. Otherwise return false. E...
más de 12 años hace
Resuelto
Weighted average
Given two lists of numbers, determine the weighted average. Example [1 2 3] and [10 15 20] should result in 33.333...
más de 12 años hace
Resuelto
Pizza!
Given a circular pizza with radius _z_ and thickness _a_, return the pizza's volume. [ _z_ is first input argument.] Non-scor...
más de 12 años hace
Resuelto
Swap the first and last columns
Flip the outermost columns of matrix A, so that the first column becomes the last and the last column becomes the first. All oth...
más de 12 años hace
Resuelto
Determine whether a vector is monotonically increasing
Return true if the elements of the input vector increase monotonically (i.e. each element is larger than the previous). Return f...
más de 12 años hace
Resuelto
Find all elements less than 0 or greater than 10 and replace them with NaN
Given an input vector x, find all elements of x less than 0 or greater than 10 and replace them with NaN. Example: Input ...
más de 12 años hace
Resuelto
Column Removal
Remove the nth column from input matrix A and return the resulting matrix in output B. So if A = [1 2 3; 4 5 6]; and ...
más de 12 años hace
Resuelto
Select every other element of a vector
Write a function which returns every other element of the vector passed in. That is, it returns the all odd-numbered elements, s...
más de 12 años hace
Resuelto
Determine if input is odd
Given the input n, return true if n is odd or false if n is even.
más de 12 años hace
Resuelto
Find the sum of all the numbers of the input vector
Find the sum of all the numbers of the input vector x. Examples: Input x = [1 2 3 5] Output y is 11 Input x ...
más de 12 años hace
Resuelto
Make the vector [1 2 3 4 5 6 7 8 9 10]
In MATLAB, you create a vector by enclosing the elements in square brackets like so: x = [1 2 3 4] Commas are optional, s...
más de 12 años hace
How can I get in code the path of currently running deployed matlab function
_pwd_ also returns the current path. This is what I use in my GUIs.
más de 12 años hace | 0
| aceptada
The thickness of border lines on a plot (different than that of the inner lines)
I found that the figure automatically chooses the renderer ZBuffer, which is the cause of your display issues. I can't answer as...
más de 12 años hace | 0
How to tell Matlab to ignore NaNs in calculations/loops
data_vec = [1 2 3 4 5 NaN 7 8 NaN 10 12]; data_vec(~isnan(data_vec)) ans = 1 2 3 4 5 7 8 10 12
más de 12 años hace | 0
How to calculate hash sum of a string (using java)?
*Solution:* The trick here is to input an ascii representation of your string (hence, the double(string) call). MessageDigest...
más de 12 años hace | 3
| aceptada
Pregunta
How to calculate hash sum of a string (using java)?
Couldn't find this very easily (without including a bunch of c-mex files etc) so I thought I'd post it here for future reference...
más de 12 años hace | 2 respuestas | 0
2
respuestasPregunta
Count the number of trend changes in a vector.
I need to count the number of times a vector increases/decreases. E.g vec = [0 0 1 2 4 4 2 0 1 2 3] diff(vec) ans ...
más de 12 años hace | 3 respuestas | 0
3
respuestasPregunta
XML parsing vs regexp
I'm trying to extract values from two elements in a pretty large xml. I'm stuck between doing it "the right way" and doing it "t...
más de 12 años hace | 1 respuesta | 1
1
respuestaEigenvalue calculation in MATLAB
From <http://www.mathworks.se/help/techdoc/ref/eig.html> [V,D] = eig(A,B,flag) specifies the algorithm used to compute eigen...
más de 12 años hace | 2
Having trouble compiling uigetfile function
It always works for me. It could be that you only call filename = uigetfile('*.xls','Select your file'); Instead, you sho...
más de 12 años hace | 2
| aceptada
Changing values in 2D array using logical operators
aa = rand(10, 10); aa(aa < 0.5) = NaN;
más de 12 años hace | 0
| aceptada
Count the number of trend changes in a vector.
I think I've cracked it. My logic follows from; # I wish to count the number of first derivative changes. # I wish to exclud...
más de 12 años hace | 0
How can I Read or get the Values one by one from matrix variable or array?
z_elem = nnz(nnz == 0) nz_elem = nnz(nnz ~= 0) Then do your calculations on each.
más de 12 años hace | 0