Community Profile

photo

JM


Last seen: 3 years ago Active since 2018

Followers: 0   Following: 0

Statistics

All
  • Thankful Level 3
  • Solver

View badges

Feeds

View by

Question


Change transparency but only in part of a kernel (i.e. different contrast bands)?
I'm using Matlabs sample code to generate Gabor kernels (shown below). I want to be able to manipulate the transperancy of the...

3 years ago | 0 answers | 0

0

answers

Question


Help with creating an image like this? (Letter E with flanks and Gabor filter)
I'm trying to create image like some of those attached below (picture titled Gabor Es), but I'm having a lot of difficulty. My...

3 years ago | 0 answers | 0

0

answers

Question


Extract rows from cell array based on two values in two columns and reassign them to a new variable
So I have a clunky problem I have trying to solve (as seen by the title). Essentially I have a very large Excel file and I nee...

4 years ago | 0 answers | 0

0

answers

Question


Weighted average between NaNs with movmean, determing window length?
I am trying to calculated a weighted average using movmean that takes the values between NaNs in a column of data. However, I th...

4 years ago | 3 answers | 0

3

answers

Question


Interpreting xcorr results compared to corrcoef
I am having trouble understanding why I am getting different outputs when using coeff and a normalized xcorr, specifically at 0 ...

4 years ago | 1 answer | 1

1

answer

Question


Trouble understanding "Lags" for Cross Correlation
I've read through the help page for cross correlations but I'm still having trouble understanding what lags actually represent. ...

5 years ago | 1 answer | 0

1

answer

Question


Conversion function taking a very long time to run in loop, anyway to improve?
I created a function that does a simple conversion to my data with two coordinates being the input (below) %% function [ GazeD...

5 years ago | 2 answers | 0

2

answers

Question


Best way to loop through multiple subfolders and run either script A or B depending on folder name?
Here is my current folder/subfolder set up Study > Participant (1-24) > Experiment (A) and Experiment (B) > Session (1, 2, and ...

5 years ago | 2 answers | 0

2

answers

Question


Unable to open file with Importdata after dir with subfolders?
I've used this simple code before with all of my files in one folder and it worked fine. However I've modified it by adding **...

5 years ago | 1 answer | 0

1

answer

Question


Loop that names first 3 files one name and 2nd 3 files another.
Having a tough time doing something that is likely rather simple. I have a folder with files, lets say they are named AAA.XL...

5 years ago | 1 answer | 0

1

answer

Question


Loop for storing files from sub-folders in new variables?
I have 10 folders, 1 for each of my participants. Each folder has 3 files per each trial, so trial 1 will have an A file, B fi...

5 years ago | 1 answer | 0

1

answer

Solved


Make a checkerboard matrix
Given an integer n, make an n-by-n matrix made up of alternating ones and zeros as shown below. The a(1,1) should be 1. Examp...

5 years ago

Solved


Add two numbers
Given a and b, return the sum a+b in c.

5 years ago

Solved


Find the sum of all the numbers of the input vector
Find the sum of all the numbers of the input vector x. Examples: Input x = [1 2 3 5] Output y is 11 Input x ...

5 years ago

Solved


Make the vector [1 2 3 4 5 6 7 8 9 10]
In MATLAB, you create a vector by enclosing the elements in square brackets like so: x = [1 2 3 4] Commas are optional, s...

5 years ago

Solved


Times 2 - START HERE
Try out this test problem first. Given the variable x as your input, multiply it by two and put the result in y. Examples:...

5 years ago

Question


For loop to correlate column 1 in variable 1 to column 2 in variable 2 and so on.
I have two variables (A and B) that store 3000x30 data points. I'm interested in creating a for loop that stores the correlati...

6 years ago | 1 answer | 0

1

answer

Question


Trying to calculate variance in cells nested within a 1x9 cell
Currently I have a variable that is a 1x9 cell (lets call it X). Within X, there are a variety of different sized nested cells, ...

6 years ago | 1 answer | 0

1

answer

Question


Creating a variable referencing specific cells from a cell variable with 30 structures?
I have a variable that I converted to a cell. This variable is a 1x30 cell with 30 structures within it. (I had multiple levels...

6 years ago | 1 answer | 0

1

answer

Question


Trouble reading 6 excel files (with multiple sheets) and storing each excel as a its own matrix with my loop.
Here is my current code %My Code foldername = 'My Folder Path'; files = dir(fullfile(foldername, '*.xlsx')) for i = 1:le...

6 years ago | 2 answers | 0

2

answers

Question


Creating a txt file with different types of data stored in each column?
I am trying to create a .txt file with the following data in this format. e 5.4 300+2i f 3.3 3+200i c 2.2 9.9+210i ...

6 years ago | 1 answer | 0

1

answer

Question


Help with HW question regarding Sine waves
I may be greatly overthinking this, but I want to make sure since I am new to Matlab. The question requires me to create a si...

6 years ago | 1 answer | 0

1

answer