photo

Todd Leonhardt


Aktiv seit 2016

Followers: 0   Following: 0

Nachricht

Statistik

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

Abzeichen anzeigen

Feeds

Anzeigen nach

Beantwortet
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

mehr als 8 Jahre vor | 0

| akzeptiert

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

mehr als 8 Jahre vor | 0

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

mehr als 8 Jahre vor | 3

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

mehr als 8 Jahre vor | 0

| akzeptiert

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

mehr als 8 Jahre vor | 1

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

mehr als 8 Jahre vor | 0

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

mehr als 8 Jahre vor | 0

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

mehr als 8 Jahre vor | 1

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

mehr als 8 Jahre vor | 0

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

mehr als 8 Jahre vor | 4

| akzeptiert

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

mehr als 8 Jahre vor | 0

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

mehr als 8 Jahre vor | 1

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

mehr als 8 Jahre vor | 26

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

mehr als 8 Jahre vor | 0

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

mehr als 8 Jahre vor | 0

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

mehr als 8 Jahre vor | 1

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

mehr als 8 Jahre vor | 0

Frage


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

mehr als 8 Jahre vor | 1 Antwort | 0

1

Antwort

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

mehr als 8 Jahre vor | 1

| akzeptiert

Gesendet


table2structofarrays( inTable )
Function to convert a table to a struct of arrays

mehr als 8 Jahre vor | 1 Download |

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

mehr als 8 Jahre vor | 1

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

mehr als 8 Jahre vor | 0

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

mehr als 8 Jahre vor | 1

| akzeptiert

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

mehr als 8 Jahre vor | 0

| akzeptiert

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

mehr als 8 Jahre vor | 0

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

mehr als 8 Jahre vor | 0

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

mehr als 8 Jahre vor | 0

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

mehr als 8 Jahre vor | 1

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

mehr als 8 Jahre vor | 1

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

mehr als 8 Jahre vor | 0

| akzeptiert

Mehr laden