Community Profile

photo

Neuropragmatist


Last seen: Today

University College London

92 total contributions since 2018

Trained in neuroscience and electrophysiology but self-taught in programming. My solutions may not be the fastest or most elegant but on average they work at an above chance level.

Contact

Neuropragmatist's Badges

  • Thankful Level 1
  • Revival Level 1
  • 3 Month Streak
  • First Review
  • Knowledgeable Level 3
  • First Answer
  • Solver

View details...

Contributions in
View by

Question


Histograms - why does the smallest binsize always give the smallest mean integrated squared error?
Hi all, I have a bit of a specialised question involving histograms and mean integrated squared error (MISE). I want to find th...

21 days ago | 1 answer | 0

1

answer

Answered
How to do Chi square with contingency tables?
Crosstabs expects the raw data as vectors, if you only have counts you will need to expand your data into vectors, for instance ...

21 days ago | 1

| accepted

Answered
Undefined function or variable 'netcdf'
I think your line is supposed to be: f = netcdf.open('algiers_bay.grd','r'); Because netcdf on it's own doesn't do anything,...

21 days ago | 0

Answered
How to plot Data from a table filled with strings?
I think your problem is just that the cell array contains strings of different lengths, you can try converting them to numbers i...

21 days ago | 0

| accepted

Answered
Can anyone tell me how does this code works?
Hi, It is difficult to know exactly what the code is doing without the data files it is loading. However, at first glance I wo...

21 days ago | 0

| accepted

Answered
i have a data set containing urls of images.How can i download all the images from those urls using matlab?
You can read the data into Matlab using importdata: https://uk.mathworks.com/help/matlab/ref/importdata.html?s_tid=doc_ta Then...

11 months ago | 0

Answered
Please provide in depth details on PCA MATLAB function
How many features do you give the PCA when you give it the dataset? Just the XY values you plotted in the first graph? Or do you...

11 months ago | 0

| accepted

Answered
how do i live plot 3 different values?
Can you be more precise in what you want to achieve? For example, here is the Matlab help example given for animatedline: numpo...

11 months ago | 0

Answered
Maximum perpendicular distance from line to convex hull boundary
I had to do something similar to this some time ago, sorry I don't really remember the specifics but I used rayTriGPU: https://...

11 months ago | 0

| accepted

Answered
Model Based Reinforcement Learning
Your agent shouldn't be able to make 'invalid' actions at all. For undesired actions, as you say the correct reward function wit...

11 months ago | 0

Answered
How to Filter Datasheet
Why do you want to do this? Its certinaly poossible to write code to do what you want, I'm just wondering if maybe there is a m...

11 months ago | 0

Answered
compress a 3D volume into a 2D image
Could you project the data along each axis (using mean(data,dim) for instance) to get 3 two dimensional images and then do the t...

11 months ago | 1

| accepted

Answered
to run NaN values with anova1
As per the anova1 help it expects groups to be arranged in columns, not rows: "P = anova1(M) for a matrix M treats each col...

11 months ago | 0

| accepted

Answered
.dat file image generation and analysis
Matlab has countless ways to visualise images loaded into the workspace. The problem with your file is that .dat sounds like a ...

11 months ago | 1

| accepted

Answered
How to import a specific range using readtable
Can you not just read the whole table and the select the data you want from the resulting matrix? cd 'C:\Users\julia\Desktop\Te...

11 months ago | 0

| accepted

Answered
Fatal Error on Startup
You should probably contact Matlab suport: https://uk.mathworks.com/support/contact_us.html?s_tid=sp_ban_cs M.

11 months ago | 0

Answered
How to resize test images for neural network deep learning?
Did you just substitute your own input image for the Matlab tutorial one? Because it looks like the whole code is built around 3...

11 months ago | 0

Answered
Can we import data from Dropbox to matlab?
I haven't used this but maybe this function would be helpful: https://uk.mathworks.com/matlabcentral/fileexchange/59548-url-rea...

11 months ago | 0

Answered
How to plot a position heatmap inside a circle?
Hi Manal, I'm always happy to help a fellow animal researcher! If you know where the center of the arena is in your heatmap th...

11 months ago | 0

| accepted

Answered
How do I access images from directories using an input command for the extensive file?
In the example function you gave the second input 'fileType' is not used, is that the problem? You could use this in the line c...

11 months ago | 1

| accepted

Answered
Plotting X, Y cordintions with a line short line that indicates the angle
Your question is lacking some detail I suspect. Just to plot the XY data you could do this: dat =[20 30 200 30 ...

11 months ago | 0

Answered
Efficient way to rename files adding prefix from higher rank folder
You should look at fileparts: https://uk.mathworks.com/help/matlab/ref/fileparts.html And strsplit: https://uk.mathworks.com/...

11 months ago | 0

Answered
Loop an animated plot
I would run your function once and generate a movie file, then insert the video into Powerpoint using the 'insert video' option ...

11 months ago | 1

Answered
Copy an Excel worksheet from one workbook to another with Matlab
Why does readtable followed by writetable not work?: https://uk.mathworks.com/help/matlab/ref/readtable.html?searchHighlight=re...

11 months ago | 0

Answered
find maximum of data with some conditions
I really don't understand your question, how are the data arranged? Can you give us an example piece of data? It sounds like yo...

11 months ago | 0

Answered
HELP TO SINC MY MATLAB DRIVE FOLDER WITH GOOGLE DRIVE
I don't use Matlab Drive at all, but if it works similarly to Google Drive and OneDrive there will be an option to choose where ...

11 months ago | 0

Answered
How can I get filenames for individual images in a multi-page tiff stack?
From what I remember ImageJ uses Bio-Formats? You could look at this: https://docs.openmicroscopy.org/bio-formats/5.8.0/users/...

11 months ago | 0

Answered
Extract columns from multiple csv files
Why not just concatenate the data - or am I missing something? If in the end you want a single vector to analyse you can just c...

1 year ago | 0

Answered
how to properly use num2str with string input for load or title funtions.
I'm guessing the files you want to load are named something like: 'GST_amorph_P900_Reflection'? If that's the case you need to ...

1 year ago | 0

Answered
Meaning of "clear all" and "clf"
Have you checked the help or reference material? https://uk.mathworks.com/help/matlab/ref/clf.html https://uk.mathworks.com/he...

1 year ago | 0

| accepted

Load more