photo

Tom


Kent

2012년부터 활동

Followers: 0   Following: 0

메시지

통계학

  • Thankful Level 3

배지 보기

Feeds

보기 기준

질문


Finding structure array entries with certain values
Hello, What is the way to find all structure array entries with specific values? E.g. I tried: find(cell_data.CN == 4)...

10년 초과 전 | 답변 수: 2 | 0

2

답변

질문


Undefined function 'sind' for input arguments of type 'sym'.
Hello, Is it not express a symbolic trigonometric function in degrees? It would save me a lot of converting if it is. Kind...

10년 초과 전 | 답변 수: 1 | 0

1

답변

질문


Help with symbolic variables
Sorry, reposting this question again to see if any of you kind folk can help. Hello, I have the following to calculate ass...

10년 초과 전 | 답변 수: 1 | 0

1

답변

질문


Help with symbolic variables
Hello, I have the following to calculate associated legendre polynomials (in terms of angles: http://en.wikipedia.org/wiki/As...

10년 초과 전 | 답변 수: 0 | 0

0

답변

질문


Help with a scatter3 plot
Hello, I have: x = -1.0393 0.0844 1.3133 0.1248 1.4003 -0.6345 1.4067 -0.5673 0.4601 ...

거의 11년 전 | 답변 수: 1 | 0

1

답변

질문


Simple data conversion help needed
Hello, This is probably very simple. Can anyone tell me where I'm going wrong when using strcmp: I have this user input...

거의 11년 전 | 답변 수: 1 | 0

1

답변

질문


Assigning a 3D scatter plot to structure array
Hello, Is it possible to assign scatter plots in a structure array which can then be recalled individually? I currently ha...

거의 11년 전 | 답변 수: 1 | 0

1

답변

질문


User definition of cell contents
Hello, I have a cell which contains 4 'atom types', e.g. all_atom_type = 'Eu3+' 'Na1+' 'O2-' 'Si4+...

거의 11년 전 | 답변 수: 1 | 0

1

답변

질문


Consider preallocating for speed
Hello, My lengthy program is littered with 'Consider preallocating for speed' suggestions for numerous variables. What doe...

거의 11년 전 | 답변 수: 1 | 0

1

답변

질문


Find elements of a vector
If I have a vector, e.g. A = [ 2 8 6 5 3 3 6 5 5 3 4 1 2 9 6] How do I return a vector which just gives single examples...

거의 11년 전 | 답변 수: 1 | 0

1

답변

질문


Being more concise with an IF statement
Hello, Could someone tell me if there's a more concise way (I'm sure there is) of implementing the following: if CN(cou...

거의 11년 전 | 답변 수: 1 | 0

1

답변

질문


help using sortrows please
Hello, I can't seem to achieve my desired result of sorting the rows of a matrix into ascending order. The documentation seem...

거의 11년 전 | 답변 수: 2 | 0

2

답변

질문


Skipping calculations using if
Hello, I have the following code: for j = 1:(length(acalc)-1) for ii = (j+1):length(acalc) dotp(count2,:...

거의 11년 전 | 답변 수: 1 | 0

1

답변

질문


removing a complex infinity
If I have elements in a matrix which are 0 + Infi, what is the best way to delete these elements? I have tried x(x==0+i...

대략 11년 전 | 답변 수: 1 | 0

1

답변

질문


Help with rowshift needed
I have narrowed down the problem from my previous question. I have a for loop for ashift = 1:n x = [x(:,1) - x(as...

대략 11년 전 | 답변 수: 0 | 0

0

답변

질문


For loop help needed
Can anyone see a reason why when I implement the following for loop: for ashift = 1:n x = [x(:,1) - x(ashift) x(:,2) -...

대략 11년 전 | 답변 수: 1 | 0

1

답변

질문


Nested for Loop needed
Hello, Could anyone enlighten me as to how to produce the for loops required to perform the following: 2 x 3 2 x 4 2...

대략 11년 전 | 답변 수: 1 | 0

1

답변

질문


Nested for loop help needed
Hi guys, can anyone help me out with this one: x = A B C D E F G H I J ...

대략 11년 전 | 답변 수: 1 | 0

1

답변

질문


Plotting two 3D points from a textscan output
I have the following text file: Eu3+ 1 10.06037350 -4.673610300 -1.834337367 ...

대략 11년 전 | 답변 수: 1 | 0

1

답변

질문


Create 3D scatter plot from matrix
Hello, Could someone enlighten me how to make a 3D scatter plot from a matrix. Specifically, given a matrix of the form: A...

대략 11년 전 | 답변 수: 1 | 0

1

답변

질문


Converting cell array with various entry types
Hello, I have the following lines of code: fid = fopen('singleatom.txt','r'); %read as a single cell C = texts...

대략 11년 전 | 답변 수: 1 | 0

1

답변

질문


Need help with textscan
Hello, I've been struggling with textscan for some time now, if anyone could point me in the right direction here I'd be eter...

대략 11년 전 | 답변 수: 1 | 0

1

답변

질문


Help with textscan classifier
Hello, Trying to extract data from a text file, the data is in the format: Eu3+ 1 10.06037350 -4.673610300 -1.834337367 ...

대략 11년 전 | 답변 수: 2 | 0

2

답변

질문


Polynomial fitting prob lem
Hello, Would anyone have an idea how to prevent these large peaks and troughs occurring at the edges of a polynomial fit? ...

거의 12년 전 | 답변 수: 1 | 0

1

답변

질문


Headings for graphs generated in a loop
Hello, Can anyone tell me how to go about having separate headings for graphs (and histograms) generated in a loop? Than...

거의 12년 전 | 답변 수: 1 | 0

1

답변

질문


Problem creating a histogram
Hello, I am trying to create a histogram where each bin is the length of the increments in another vector. Can anyone explain...

대략 12년 전 | 답변 수: 2 | 0

2

답변

질문


Plotting polynomials side by side.
Hello, Is it possible to plot two polynomials next to each other as opposed to on top of each other? The problem being they w...

대략 12년 전 | 답변 수: 2 | 0

2

답변

질문


Using IF to remove upper and lower boundaries
Within a FOR loop, I can successfully implement a single IF statement to prevent either the upper or lower values from being man...

대략 12년 전 | 답변 수: 2 | 0

2

답변

질문


Creating a symbolic variable, then using it as a real variable
I need my program to calculate the derivative of a function, and as far as I understand that means I need to make a symbolic var...

대략 12년 전 | 답변 수: 2 | 0

2

답변

질문


Help with looping problem
Here I am defining x and y coordinates of rays vertically approaching a boundary (currently sin(x)) x = 0:0.1:pi rx...

대략 12년 전 | 답변 수: 4 | 0

4

답변