John Draper
自 2015 起处于活动状态
Followers: 0 Following: 0
Feeds
提问
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...
8 years 前 | 2 个回答 | 0
2
个回答提问
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 前 | 1 个回答 | 0
1
个回答提问
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 前 | 0 个回答 | 0
0
个回答提问
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 前 | 0 个回答 | 0
0
个回答已回答
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 ...
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 前 | 0
提问
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 前 | 3 个回答 | 0
3
个回答提问
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...
9 years 前 | 1 个回答 | 0
1
个回答提问
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...
9 years 前 | 3 个回答 | 0
3
个回答提问
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...
9 years 前 | 2 个回答 | 0
2
个回答提问
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...
9 years 前 | 1 个回答 | 0
1
个回答提问
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...
9 years 前 | 0 个回答 | 0
0
个回答提问
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 ...
9 years 前 | 1 个回答 | 0
1
个回答提问
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 ...
9 years 前 | 1 个回答 | 0
1
个回答提问
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...
9 years 前 | 0 个回答 | 0
0
个回答提问
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...
9 years 前 | 1 个回答 | 0
1
个回答提问
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 ...
9 years 前 | 1 个回答 | 0
1
个回答提问
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...
9 years 前 | 0 个回答 | 0
0
个回答提问
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...
9 years 前 | 1 个回答 | 0