Community Profile

photo

Joshua


Last seen: alrededor de 1 año hace Con actividad desde 2017

Followers: 0   Following: 0

Estadísticas

  • Knowledgeable Level 2
  • First Answer

Ver insignias

Feeds

Ver por

Respondida
How do I plot this E= (|I|^2)/8π^2[costheta-costheta^2]/(2).
I was a little confused by what belonged in the denominator and numerator, along with what "I" is (I took it to be the imaginary...

casi 7 años hace | 0

Respondida
How can I get the wall-clock time during my simulation, once an entity reaches a certain block?
Is this what you are looking for? It gives you the current time in seconds from the start of the day. You could modify it to sui...

casi 7 años hace | 0

Respondida
How to efficiently arrange a FOR-LOOP if we have two condition with different nValue
I think this answers your first question at least. Might take care of the second question as well since there is just one loop n...

casi 7 años hace | 0

Respondida
How to combine multiple excel files into one file with data in separate columns?
This is a bit complex, but worked for two random excel files. You can simplify if the two columns in each excel file are always ...

casi 7 años hace | 0

Respondida
How do you integrate a constant?
theta = 0.01305 miu = 0.0546 const = @(x) tan(theta + miu)+0*x r = integral(const,0,1)

casi 7 años hace | 3

| aceptada

Pregunta


Why do certain line markers show up faded when saving high resolution images using print?
I am saving MATLAB figures as high resolution .png files to use in a paper. Version is R2016a. The markers for triangles, square...

casi 7 años hace | 1 respuesta | 0

1

respuesta

Respondida
Slicing a 3d cube-like surface with a plane
Assuming that you have the cube shaped object as a list of coordinates, you could define the plane as an equation, and then chec...

casi 7 años hace | 0

Respondida
How to find if graph is connected
I think this is what you are looking for. The line with the variable 'con' is not really necessary, but if you need to reference...

casi 7 años hace | 0

| aceptada

Respondida
What function (if any) can I use to simplify symbolic equation in terms of another variable?
If you define your variables using the 'syms' function, you can create equations that will simplify. For example, the code ...

casi 7 años hace | 0

Respondida
Counting the number of steps taken by the sorting algorithm
X = [9 2 5 7 3 8 1 4 6 0 -2 -7]; n = length(X); numSteps=0; for i=1:n-1 A=X(i); for j=i+1:n; if X(...

alrededor de 7 años hace | 0

| aceptada

Respondida
Subscript indices must either be real positive integers or logicals.
I am not really sure what BT is, but depending on your values of K1, K2, and L, it probably won't be an integer. For example, wi...

alrededor de 7 años hace | 1

| aceptada

Respondida
How to solve equations with possible values for variables?
This is not a very elegant solution, but it works. clear clc syms a1 a2 a3 f=symfun(4*a1+3*a2+2*a3,[a1,a2,a3]) ...

alrededor de 7 años hace | 0