Answered
Guidance with DFT Transform
f = 10; % 10 Hz. t = (0:2047)/100; % 100 Hz sampling rate. x = sin(2*pi*f*t); X = fft(x);

8 years ago | 0

Answered
Automatically define (global) variables
If you really need to use global variable, then I would suggest using structure. Create global structure that stores all your gl...

8 years ago | 1

Answered
how many machine can i install MATLAB ?
Assuming you are talking about Individual License, the magic number is 4. So you can install MATLAB on 4 PCs. These 4 PCs can ru...

8 years ago | 0

Answered
MATLAB and ErleBrain 2.0
Have you looked at the Robotics System Toolbox? It supports the Robot Operating System (ROS).

8 years ago | 0

Answered
Extracting name of variables from cell array
It will be much easier if we can turn your 'A', 'B', 'C', 'D' into 1, 2, 3, 4. For example, >> coef = [1;2;3;4]; >> comb...

8 years ago | 0

| accepted

Question


Email Notification in MATLAB Answers
If I am interested in one question in MATLAB Answers and I would like to get an email notification whenever a comment or an answ...

8 years ago | 1 answer | 2

1

answer

Answered
I need to create all a list of all possible states
I have written my own function to do what you are asking for. The trick is to use the MATLAB function *ndgrid*. >> A = allc...

8 years ago | 1

| accepted

Question


Fixed-Point Version of TYPECAST?
I really like the MATLAB function *typecast*. It can easily convert between 32-bit integer and vector of bytes (and vice versa)....

8 years ago | 2 answers | 0

2

answers

Answered
How to simulate multiple LTE user equipments (UE) in uplink with fading channel
Hi Leonardo, On the tx side of the uplink, I am assuming that you are able to create one resource grid for one UE for one sub...

8 years ago | 0

Answered
Is there any way to change variable to string for the save function?
I think you may just have a simple typo in one line of your code. Try this, my_result = sprintf('result_%d_%d', data_start,da...

8 years ago | 1

Question


US $100 prize for breaking my encryption ...
Hi everyone, I often heard people saying that private secret encryption is never secure (in other words, easy to crack). But ...

11 years ago | 1 answer | 0

1

answer

Question


Newbie question about simulink "new" file format SLX
Hi everyone, I just found out that in R2012a, there is a new file format called SLX for saving simulink model. SLX is a bina...

11 years ago | 1 answer | 1

1

answer

Question


Why is property renamed in fixed-point toolbox in R2012b?
Hi everyone, I am just curious why every now and then Mathworks would rename either function or (in this case) property name....

11 years ago | 0 answers | 1

0

answers

Answered
How to turn off cell mode in Matlab editor in 2012b?
I have actually issued a service request to Mathworks and the answer is no. So there is no way to turn off cell mode in Matla...

12 years ago | 0

| accepted

Question


Newsgroup or "Ask Question"
Another stupid question to ask. I have not been to the matlab newsgroup for a while. So what do people normally do now if the...

12 years ago | 1 answer | 0

1

answer

Question


How to turn off cell mode in Matlab editor in 2012b?
Hi everyone, I have just installed R2012b. This is used to be a simple thing to do. But now I have already spent half an hour...

12 years ago | 3 answers | 0

3

answers

Question


Read/Write audio files in Matlab
Hi everyone, I would like to read/write audio files (eg. *.wav, *.mp3) in Matlab. I know that Matlab comes with wavread.m and...

12 years ago | 2 answers | 0

2

answers

Answered
How to duplicate rand('twister', 0) in current Matlab?
This is related to my comment to Peter's answer. So would the following table works if I want to upgrade my old code to use R...

12 years ago | 0

Question


How to duplicate rand('twister', 0) in current Matlab?
Hi everyone, I am trying to change my old code to use the new RNG in current Matlab (R2011a). In my old code, I usually ha...

12 years ago | 3 answers | 1

3

answers

Question


Measure user response time on hitting a key
Hi everyone, I would like to use Matlab to measure a user's response time in front of a PC. So here is the test: Step 1: M...

12 years ago | 2 answers | 0

2

answers

Answered
Matlab Connector is out of date. The latest version is 1.2.
Just talked to a Mathworks application engineer over the phone about this problem. One of the things that came up during the ...

13 years ago | 0

Question


Matlab Connector is out of date. The latest version is 1.2.
Hi, I have just downloaded matlab connector on my PC (running R2010b on windows 7) and matlab mobile on my iphone4. I have d...

13 years ago | 1 answer | 0

1

answer

Question


Fast bit packing?
Hi everyone, I am looking for a fast way to do bit packing in Matlab (my data set is pretty big). Here is what I mean by bit ...

13 years ago | 2 answers | 0

2

answers