Community Profile

photo

Neuropragmatist


University College London

Last seen: 9 mesi fa Attivo dal 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.

Statistiche

All
  • Thankful Level 2
  • Promoter
  • Commenter
  • Thankful Level 1
  • Revival Level 1
  • 3 Month Streak
  • First Review
  • Knowledgeable Level 4
  • First Answer
  • Solver

Visualizza badge

Content Feed

Visto da

Domanda


Is it possible to update a uitextarea without using drawnow?
Hi all, I am building an app using the app designer, in the window I have a uitextarea where I post updates to the user, someth...

11 mesi fa | 1 risposta | 0

1

risposta

Domanda


App designer: UIAxis ButtonDownFcn with key modifier?
Hi all, I am using the app designer to design a small program, part of this involves getting the user to click on an axis. I us...

11 mesi fa | 2 risposte | 0

2

risposte

Domanda


What are the units of the bandwidth parameter for mvksdensity?
I have been using the inbuilt mvksdensity function. For this function the user specifes a 'bandwidth' as a smoothing parameter (...

oltre un anno fa | 1 risposta | 0

1

risposta

Domanda


How to provide cameraIntrinsics to triangulateMultiview
I am trying to triangulate matched points recorded by 5 different cameras using triangulateMultiview. The third input required ...

oltre 2 anni fa | 1 risposta | 0

1

risposta

Risolto


Find the area of the four walls
If length, breadth and height of the walls are given, find the area of the four walls.

oltre 3 anni fa

Risolto


Reverse a matrix
Its simple. You have to reverse a given matrix.

oltre 3 anni fa

Risolto


Find the dimensions of a matrix
Just find the number of columns of the given matrix. Example x = [1 2 3 4 5 6] y = 2

oltre 3 anni fa

Risolto


Sum of diagonal of a square matrix
If x = [1 2 4; 3 4 5; 5 6 7] then y should be the sum of the diagonals of the matrix y = 1 + 4 + 7 = 12

oltre 3 anni fa

Risolto


find the surface area of a cube
given cube side length x, find the surface area of the cube, set it equal to y

oltre 3 anni fa

Risolto


Rounding off numbers to n decimals
Inspired by a mistake in one of the problems I created, I created this problem where you have to round off a floating point numb...

oltre 3 anni fa

Risolto


Getting the indices from a vector
This is a basic MATLAB operation. It is for instructional purposes. --- You may already know how to <http://www.mathworks....

oltre 3 anni fa

Risolto


Maximum value in a matrix
Find the maximum value in the given matrix. For example, if A = [1 2 3; 4 7 8; 0 9 1]; then the answer is 9.

oltre 3 anni fa

Risolto


Check if number exists in vector
Return 1 if number _a_ exists in vector _b_ otherwise return 0. a = 3; b = [1,2,4]; Returns 0. a = 3; b = [1,...

oltre 3 anni fa

Risolto


Reverse the vector
Reverse the vector elements. Example: Input x = [1,2,3,4,5,6,7,8,9] Output y = [9,8,7,6,5,4,3,2,1]

oltre 3 anni fa

Risolto


Most nonzero elements in row
Given the matrix a, return the index r of the row with the most nonzero elements. Assume there will always be exactly one row th...

oltre 3 anni fa

Risolto


Remove any row in which a NaN appears
Given the matrix A, return B in which all the rows that have one or more <http://www.mathworks.com/help/techdoc/ref/nan.html NaN...

oltre 3 anni fa

Risolto


Swap the first and last columns
Flip the outermost columns of matrix A, so that the first column becomes the last and the last column becomes the first. All oth...

oltre 3 anni fa

Risolto


Is my wife right?
Regardless of input, output the string 'yes'.

oltre 3 anni fa

Risolto


Determine if input is odd
Given the input n, return true if n is odd or false if n is even.

oltre 3 anni fa

Risolto


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

oltre 3 anni fa

Domanda


Shuffling matrix regions while maintaining their shape
Hi all, I want to segment a matrix into parts, then move those parts around while maintaining their shape as far as possible (b...

oltre 3 anni fa | 0 risposte | 0

0

risposte

Domanda


Calculating mean integrated squared error (MISE)
Hi all, I have a bivariate probability distribution ( f1(x) ) and a histogram of real data that I want to compare to it ( f2(x)...

oltre 3 anni fa | 1 risposta | 0

1

risposta

Domanda


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

oltre 3 anni fa | 1 risposta | 0

1

risposta

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

oltre 3 anni fa | 1

| accettato

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

oltre 3 anni fa | 0

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

oltre 3 anni fa | 0

| accettato

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

oltre 3 anni fa | 0

| accettato

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

oltre 4 anni fa | 0

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

oltre 4 anni fa | 0

| accettato

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

oltre 4 anni fa | 0

Carica altro