17,895 reputation
12160
bio website
location
age
visits member for 2 years, 3 months
seen yesterday

Aug
20
revised Simulate MATLAB's meshgrid function
use Simon suggestion for pts
Aug
20
revised Looking for a way to insert multiple elements into multiple positions simultaneously in a list
made it little faster
Aug
20
revised Looking for a way to insert multiple elements into multiple positions simultaneously in a list
added timings
Aug
20
revised Looking for a way to insert multiple elements into multiple positions simultaneously in a list
put mark in table
Aug
20
comment Looking for a way to insert multiple elements into multiple positions simultaneously in a list
@Mr.Wizard good point. I was working in global context first and I did not think of it that when I move things to Module context, then any symbol there will go the job. WIll update now. Working on timings now also...
Aug
20
revised Looking for a way to insert multiple elements into multiple positions simultaneously in a list
made it into function
Aug
20
comment Looking for a way to insert multiple elements into multiple positions simultaneously in a list
@Mr.Wizard, I needed a special symbol that will not occur in the original input. i.e. needed a special marker. In Matlab nan is used since for valid input, it should not contain a nan in it. If you suggest a different one I could use it, but this is how it is done in Matlab ;) the marker is any value that is not present in the insertvalues list. That is all.
Aug
20
answered Looking for a way to insert multiple elements into multiple positions simultaneously in a list
Aug
19
reviewed Approve suggested edit on How do I put a Monitor into CDF?
Aug
19
comment Increase Size of InputForm in Manipulate
In addition to the answer given, you could also try ContentSize->Automatic. From help: automatically size to fit. There are number of other options as well.
Aug
19
answered How Do I Upgrade a Show to a Manipulate?
Aug
19
comment How Do I Upgrade a Show to a Manipulate?
what is your control variables? i.e. what are the parameters you want to change? The first question to ask when making a Manipulate is: What do I want to control?
Aug
19
comment Increase Size of InputForm in Manipulate
really hard to understand, since no simple MWE is given. Is this what you want? Manipulate[list, {list, 0},ContentSize -> 1000] !Mathematica graphics (if you have a put complete example with some input, this will have eliminated the guess work)
Aug
19
comment After modifying expression, new result doesn't replace old one
If you re-run the same cell again, it will replace the old output. So if you are are in the In[9] cell, and then hit ENTER, now Out[9] will go away, and instead you will get a new In[10] and a new Out[10] where Out[10] has replaced Out[9]. If that is not what you are getting, then this will be very strange. Are you sure you are evaluating the same cell again? You can always go back to original setting. See support.wolfram.com/kb/3274
Aug
19
comment Creating overlapped block matrices
@Kuba I also read at the top OP saying FEM assignment using Mathematica. and that is why I thought right away it is stiffness matrix. (FEM== finite elements)
Aug
19
revised Creating overlapped block matrices
add note on pattern
Aug
19
comment Creating overlapped block matrices
@Kuba. I see. Oh well. I just guess the OP is either wrong (made typo), or they should then say what does this pattern represents. I assumed it is a global stiffness matrix. If not, then I will also delete this answer.
Aug
19
comment Creating overlapped block matrices
Anon, there are stiffness matrices. There is a coupling between elements and where they join, or overlap, the stiffness is added. But this all depends on the elements and the structure and can get very complicated.
Aug
19
answered Creating overlapped block matrices
Aug
19
revised Simulate MATLAB's meshgrid function
used explorer suggestion for the points, simpler than what I had