photo

Erin Pratt


Last seen: presque 3 ans il y a Actif depuis 2018

Followers: 0   Following: 0

Statistiques

  • Thankful Level 3

Afficher les badges

Feeds

Afficher par

Question


Error using Parfor "Unable to classify the variable 'Sort'"
Please help, pulling my hair out; The following code is meant to sift through arrays Sort and Sort2 looking for intersections, ...

environ 3 ans il y a | 1 réponse | 0

1

réponse

Question


How to vectorize a for loop with array multiplication?
Please help on replacing: for i=1:Nm Sloctemp(i,:,:)=Sloctemp(i,:,:)*Sort(m,i); end Where Nm = 19 Sloctemp is a 30x6x6 m...

environ 3 ans il y a | 1 réponse | 0

1

réponse

Question


How to vectorize a for-loop please help?
I am trying to eliminate a for-loop that looks like: for k=1:N Smat1(i,j)=Smat1(i,j)+Sloctemp(k,1,1)*(Sloc(k,1,5)==countro...

environ 3 ans il y a | 1 réponse | 0

0

réponse

Question


Need surface area of fsurf between two planes
Please help. I have generated a cone with fsurf, and two planes to model a real-world welding problem. What I am trying to find...

plus de 4 ans il y a | 2 réponses | 0

2

réponses

Question


How to load text file and extract number from file that is not organized into columns?
I am running a finite element analyzer, that deposits the results into a text file called DYNA_1, DYNA_2, ect for each load step...

plus de 5 ans il y a | 1 réponse | 0

1

réponse

Question


How to contour of 4D matrix
Please help. I have a 4D matrix (4 columns x 8000 rows) of x, y, z, coordinates and c=f(x,y,z). The data when plotted looks like...

presque 6 ans il y a | 1 réponse | 0

1

réponse

Question


How to find point(s) of intersection between two scatter surfaces and the zero plane?
Please help, I have searched a lot for this inquiry, but couldn't find anything to solve my issue; I have two surfaces (green...

presque 6 ans il y a | 1 réponse | 1

1

réponse

Réponse apportée
Why is vectorizing way slower than the for-next loop it replaced?
dpb and Matt, thank very much for your responses. Matt, the index is only for four, I= 1 to 4 is correct. So for my case, do ...

presque 6 ans il y a | 0

Question


Why is vectorizing way slower than the for-next loop it replaced?
So wrote this program that iterates 7 variables, each nested in to the next, so my run times are from 5 to 45 minutes. Naturally...

presque 6 ans il y a | 2 réponses | 0

2

réponses