**Statistics**

RANK**541**

of 291 634

REPUTATION**136**

CONTRIBUTIONS

**2** Questions

**36** Answers

ANSWER ACCEPTANCE **
100.0%
**

VOTES RECEIVED**46**

RANK**16 945** of 19 809

REPUTATION**3**

AVERAGE RATING**0.00**

CONTRIBUTIONS**1** File

DOWNLOADS **1**

ALL TIME DOWNLOADS**37**

RANK

of 146 438

CONTRIBUTIONS

**0** Problems

**0** Solutions

SCORE**0**

NUMBER OF BADGES**0**

CONTRIBUTIONS**0 Posts**

CONTRIBUTIONS**0** Public Channels

AVERAGE RATING

CONTRIBUTIONS**0** Highlights

AVERAGE NO. OF LIKES

**Feeds**

How do I write a code for Fast Fourier Transform

See this good documentation on how to use the built-in fft() function: http://www.mathworks.com/help/matlab/ref/fft.html

ungefär 8 år ago | 0

| accepted

matlab R2015b crashes every time

You appear to be running Windows 7. Do you have Service Pack 1 installed? MATLAB 2015b requires Service Pack 1 (or newer) if y...

ungefär 8 år ago | 0

insert a small matrix inside a big matrix

You do it like so. Suppose your 1000 x 1000 matrix is called *big* and your 45x45 matrix is called *little*. big(250:294, 2...

ungefär 8 år ago | 3

Sub-scripted Dimension Mismatch Error

At the moment you are attempting to assign something to the 1st column row a (starting at the 2nd row), but a is a matrix of dou...

ungefär 8 år ago | 0

| accepted

save a structur to xlsx or txt

There are many ways to solve this problem. My recommendation is as follows: % Convert struct to Table, where your struct i...

ungefär 8 år ago | 1

How to locate files in folder or directory where I'm working?

The *exist* function should do what you want: http://www.mathworks.com/help/matlab/ref/exist.html if 2 == exist(file nam...

ungefär 8 år ago | 0

How to do a taylor series in matlab with e?

Check out this example of how to compute Taylor series in Matlab: http://www.mathworks.com/help/symbolic/taylor-series.html ...

ungefär 8 år ago | 0

Help projecting a vector onto another!

See this answer: http://www.mathworks.com/matlabcentral/answers/2216-projecting-a-vector-to-another-vector

ungefär 8 år ago | 1

1 license for 2 different OSes?

You can choose to use your Matlab license to be based on a per user basis, in which case you can install your license on up to 4...

ungefär 8 år ago | 0

Profiling mex in Linux

Given the lack of answers I thought I would let people know what ended up working very well for me. So I made the mexFunction...

ungefär 8 år ago | 4

| accepted

How to set the variables of genetic algorithm toolbox changing 1 or 0?

If the output *x* is between 0 and 1 then you can simply do: round(x); If not, then you can define a *threshold* and do:...

ungefär 8 år ago | 0

Fastest Way of Opening and Reading .csv Files (Currently using xlsread)

*readtable* http://www.mathworks.com/help/matlab/ref/readtable.html

ungefär 8 år ago | 1

How do I view what Toolboxes I have for my license?

*ver* Just type "ver" in the MATLAB command window. It will show you what version of MATLAB you are running, your license nu...

ungefär 8 år ago | 26

How do I manipulate the variable with respect to which IFFT is computed?

From MATLAB's *fft* function documentation: fft(X,[],DIM) or fft(X,N,DIM) applies the fft operation across the dimension...

ungefär 8 år ago | 0

I have license for MATLAB R2015a can i use it for installing MATLAB R2012b ?

Yes. You can always download and install an older version of MATLAB with a newer license. Go here to select the release you ...

ungefär 8 år ago | 0

How do i convert a Base-2 number into Base-10?

You can use bin2dec() to convert a binary number string to a decimal number like so: x = bin2dec('0111'); In this case x...

ungefär 8 år ago | 1

use sound for a function

The basic equation for a sine wave is: y = A * sin(2*pi*f*t) <https://en.wikipedia.org/wiki/Sine_wave Sine Wave> H...

ungefär 8 år ago | 0

Question

Profiling mex in Linux

What are my options for profiling a MEX file in Linux? I have a MEX function which runs a whole lot of C code and the code ...

ungefär 8 år ago | 1 answer | 0

### 1

answerimport data from txt missing delimiters

Have you tried the readtable() command yet? http://www.mathworks.com/help/matlab/ref/readtable.html It works very well with ...

ungefär 8 år ago | 1

| accepted

Submitted

table2structofarrays( inTable )

Function to convert a table to a struct of arrays

ungefär 8 år ago | 1 download |

Need to break down EEG signals into 4 frequency bands

If you have the Signal Processing Toolbox, then you can design 4 bandpass filters, one for each band, using the Filter Design an...

ungefär 8 år ago | 1

profiling mex using gprof in windows

This article explains how to profile MEX functions in Visual Studio on Windows: http://www.mathworks.com/help/matlab/matlab_ext...

ungefär 8 år ago | 0

Id like to see documentation for R2015b.

http://www.mathworks.com/help/releases/R2015b/index.html You probably need to log in to view archived documentation such as t...

ungefär 8 år ago | 1

| accepted

export large size data from matlab to excel

See the documentation here on how to do what you want: http://www.mathworks.com/help/matlab/import_export/exporting-to-excel-sp...

ungefär 8 år ago | 0

| accepted

Is there a way to control the action of an external program through MATLAB?

You can use Java to automate GUI interaction. See this article for more information on that: http://undocumentedmatlab.com/blo...

ungefär 8 år ago | 0

Matlab on Ubuntu 14.04

On Ubuntu you need sudo privileges to write to /usr. So either preface the install script with *sudo* or install to a directory...

ungefär 8 år ago | 0

Indexing in for loop in order to remove non-zero and nan entries from vectors

The problem appears to be that your loop changes M into something with a single element on the first pass through, but then trie...

ungefär 8 år ago | 0

Using calllib with a function that uses std::vector in its prototype

As mentioned, you can't really use calllib with most C++ code. However, you can use mex to build a MATLAB Executable (MEX) fu...

ungefär 8 år ago | 1

SSD vs HDD Matlab

Like almost any performance question of this nature, the answer is "It Depends". Specifically it depends on what exactly your c...

ungefär 8 år ago | 1

How to combine hours from a cell and minutes from another cell into one cell of Time ?

If you have a cell array with hours in the 1st cell and minutes in the 2nd cell, like so (for 5 hours and 23 minutes): C ...

ungefär 8 år ago | 0

| accepted