Community Profile

photo

John Draper


Active since 2015

Followers: 0   Following: 0

Statistics

  • Thankful Level 3

View badges

Feeds

View by

Question


Detect where an array becomes negative
Hi everyone, I have an array of size 401 x 381 which has positive and negative values. I would like to detect which row in ea...

7 years ago | 2 answers | 0

2

answers

Question


Setting certain array elements to 0
Hi everyone, this one is probably pretty simple but I can't seem to figure it out. I have some matrix let's call it A if...

8 years ago | 1 answer | 0

1

answer

Question


quiver3 not plotting my arrays
Hi everyone, I have written some code which I hope will give me nice quiver3 plot. However when I plot the data it only displays...

8 years ago | 0 answers | 0

0

answers

Question


Element by element operation
Hi everyone, I have some 3x3 matrix e.g. a: if true a = [1 2 3; 4 5 6; 7 8 9]; I would like to take an individua...

8 years ago | 0 answers | 0

0

answers

Answered
element by element subtraction using bsxfun
Hi everyone just an update. I have written some code that will return the required result: if true a = [1 2 3; 4 5 6; 7 8 ...

8 years ago | 0

Question


element by element subtraction using bsxfun
Hi everyone, I have an array, for simplicity let it be: a = [1 2 3; 4 5 6; 7 8 10]; I would like to perform an elemen...

8 years ago | 3 answers | 0

3

answers

Question


Dividing two non-zero arrays gives me an array of zeros
Hi, I'm dividing two arrays of equal size by eachother. These arrays do have 0's in them but not all the values are zero. Whe...

8 years ago | 1 answer | 0

1

answer

Question


Split a matrix into smaller sub matricies
I've seen this answered on the web many times but none of the answers seem to give me what I need, so here it goes... As a si...

8 years ago | 3 answers | 0

3

answers

Question


Summing identical submatricies to get a smaller final matrix
Hi everyone, Here is my problem, I have a 2500x2500 matrix, this can be thought of as (50x50)x(50x50). I would like to sum ea...

8 years ago | 2 answers | 0

2

answers

Question


How to create an array of vectors corresponding to a particular point
Hi everyone, I have been working on this problem for a while and have found no feasible way of doing it. I have a sphere o...

8 years ago | 1 answer | 0

1

answer

Question


Input arguments for the cross function
Hi, I'm trying to use the cross function to give me the cross product of two sets of vectors at points on the surface of the sph...

8 years ago | 0 answers | 0

0

answers

Question


Attempt to execute SCRIPT surfnorm as a function:
Hi, I'm attempting to use the surfnorm function to produce a set of perpendicular vectors to a hemisphere. I have used this ...

8 years ago | 1 answer | 0

1

answer

Question


Component of a vector parallel with a spherical surface
Hi, I have a coded a function that (using quiver3) produces vectors on the surface of hemisphere. However, the component of the ...

8 years ago | 1 answer | 0

1

answer

Question


quiver3 using 3D spherical coordinates?
Hi, I've read a lot of posts on this site about using quiver3 to plot a function in non-rectangular coordinates and I am still a...

8 years ago | 0 answers | 0

0

answers

Question


Using surf to represent a function with color.
Hi everyone, I would like to represent the magnitude of a function on a surface (hemisphere) using a color map. Here is my curre...

8 years ago | 1 answer | 0

1

answer

Question


Using trigonometric function in Matlab
Hi, I am trying to model a dipole magnetic field using the quiver3 function. However when I use a trigonometric function in one ...

8 years ago | 1 answer | 0

1

answer

Question


using quiver function to plot vectors on a hemisphere
Hi, I'm trying to plot the magnetic field on the surface of a hemisphere (modelling a planetary dipole). I have created a fun...

8 years ago | 0 answers | 0

0

answers

Question


Function requires more input arguments to run?
Hi, I'm relatively new to matlab and trying to code a magnetic dipole field. Here is my code if true % code functio...

8 years ago | 1 answer | 0

1

answer