photo

Todd Leonhardt


Con actividad desde 2016

Followers: 0   Following: 0

Mensaje

Estadística

All
  • First Submission
  • Thankful Level 1
  • Knowledgeable Level 2
  • First Answer

Ver insignias

Feeds

Ver por

Respondida
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

más de 8 años hace | 0

| aceptada

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

más de 8 años hace | 0

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

más de 8 años hace | 3

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

más de 8 años hace | 0

| aceptada

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

más de 8 años hace | 1

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

más de 8 años hace | 0

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

más de 8 años hace | 0

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

más de 8 años hace | 1

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

más de 8 años hace | 0

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

más de 8 años hace | 4

| aceptada

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

más de 8 años hace | 0

Respondida
Fastest Way of Opening and Reading .csv Files (Currently using xlsread)
*readtable* http://www.mathworks.com/help/matlab/ref/readtable.html

más de 8 años hace | 1

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

más de 8 años hace | 26

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

más de 8 años hace | 0

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

más de 8 años hace | 0

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

más de 8 años hace | 1

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

más de 8 años hace | 0

Pregunta


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

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

1

respuesta

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

más de 8 años hace | 1

| aceptada

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

más de 8 años hace | 1

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

más de 8 años hace | 0

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

más de 8 años hace | 1

| aceptada

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

más de 8 años hace | 0

| aceptada

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

más de 8 años hace | 0

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

más de 8 años hace | 0

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

más de 8 años hace | 0

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

más de 8 años hace | 1

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

más de 8 años hace | 1

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

más de 8 años hace | 0

| aceptada

Respondida
How do i convert a Python Pandas Dataframe to Matlab types?
Another possibility is to convert the Pandas DataFrame to a Python dictionary using the DataFrame.to_dict() method: http://pand...

más de 8 años hace | 2

Cargar más