photo

Sebastian Holmqvist


Chalmers University of Technology

Con actividad desde 2012

Followers: 0   Following: 0

Mensaje

Estadística

All
MATLAB Answers

9 Preguntas
14 Respuestas

Cody

0 Problemas
15 Soluciones

CLASIFICACIÓN
1.755
of 300.364

REPUTACIÓN
39

CONTRIBUCIONES
9 Preguntas
14 Respuestas

ACEPTACIÓN DE RESPUESTAS
66.67%

VOTOS RECIBIDOS
10

CLASIFICACIÓN
 of 20.934

REPUTACIÓN
N/A

EVALUACIÓN MEDIA
0.00

CONTRIBUCIONES
0 Archivos

DESCARGAS
0

ALL TIME DESCARGAS
0

CLASIFICACIÓN
30.210
of 168.407

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

  • First Review
  • Thankful Level 3
  • Knowledgeable Level 2
  • First Answer
  • Solver

Ver insignias

Feeds

Ver por

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

más de 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. ...

más de 12 años hace | 1 respuesta | 0

1

respuesta

Pregunta


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

casi 13 años hace | 1 respuesta | 0

1

respuesta

Pregunta


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

alrededor de 13 años hace | 2 respuestas | 0

2

respuestas

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

alrededor de 13 años hace | 0

| aceptada

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

alrededor de 13 años hace | 0

Respondida
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

alrededor de 13 años hace | 0

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

alrededor de 13 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...

alrededor de 13 años hace | 2 respuestas | 0

2

respuestas

Pregunta


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 13 años hace | 3 respuestas | 0

3

respuestas

Pregunta


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 13 años hace | 1 respuesta | 1

1

respuesta

Respondida
Eigenvalue 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 13 años hace | 2

Respondida
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 13 años hace | 2

| aceptada

Respondida
Changing values in 2D array using logical operators
aa = rand(10, 10); aa(aa < 0.5) = NaN;

más de 13 años hace | 0

| aceptada

Respondida
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 13 años hace | 0

Respondida
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 13 años hace | 0

Respondida
Add new column a vector.
x = [0 0 2 2 1 0 0 2 0]'; y = [43 43 34 34 34 0 0 0 0]'; % Must be of same length You could either cat(2, x, y) ...

más de 13 años hace | 1

Respondida
My global variables are disappearing!
You could utilize e.g setappdata(handles.gui_element, 'stored_var', data_var) ... data_var = getappdata(handles.gui_e...

más de 13 años hace | 0

| aceptada

Respondida
How can I run a .m-file with an endless loop and use the command window at the same time?
A not-so-pretty solution would be to include a pause(0.001) at the end of each loop. I use it to allow my GUI to render some tex...

más de 13 años hace | 0

Respondida
grid on in gui
axes_handle = axes(n) plot(x, y) grid(axes_handle, 'on')

más de 13 años hace | 1

| aceptada

Pregunta


Cheapest path through populated matrix
I'm attempting to calculate an "optimal" (if possible) path through a data set matrix (position over time). Each "cell" has a co...

más de 13 años hace | 0 respuestas | 0

0

respuestas

Pregunta


Create a struct inside a cell array
I'm using struct2xml from FileExhange and it's quite picky on the format of the structure to export. Basically I loose informati...

más de 13 años hace | 1 respuesta | 0

1

respuesta

Pregunta


Targetinstaller not working on Mac OS X
I just installed Matlab R2012a on my OS X Lion machine. When I start up targetinstaller, I get to choose between installing from...

más de 13 años hace | 1 respuesta | 0

1

respuesta