acer

32333 Reputation

29 Badges

19 years, 323 days
Ontario, Canada

Social Networks and Content at Maplesoft.com

MaplePrimes Activity


These are replies submitted by acer

@salim-barzani As mentioned, the errant characters in your 2D Input are hidden. That means that they are not visible. So, yes, it looks the same. But they are actually different.

Your Maple has the exact same 1D input capabilities as mine.

If you have too many difficulties working with 2D Input you could switch entirely to 1D notation (using Execution Groups rather than Document Blocks). You could also use Worksheet mode rather than Document mode. And you can set all these things as default preferences.

Or, if you only have 2D Input troubles like this now and then you could troubleshoot using the lprint technique I described.

@mmcdara 

substring(x,1)

@Ronan I applied the lprint command to the sets that were being used.

Line-printing expressions is a useful way to get a plaintext view of most structures. It lets you see what is actually there.

Another handy variant I seem to use often is lprint of indets(...,name) which can line-print just the names. That can be useful in detecting accidental presence of, say, X[i] along with X__i.

Another handy 2dmath-debugging trick is to lprint the results of indets(...,function), which can reveal subexpressions where multiplication symbols (or space for implicit multiplication) was accidentally omitted, eg. x(y+2) the function call instead of x*(y+2).

ps. For shorter expressions I sometimes use the right-click context menu to change the 2D Input to 1D Maple Notation. For larger examples I prefer often those targeted queries.

@salim-barzani The people capable of resolving your problem appear very much to read everything, including new Replies on older Question threads. (There are a few ways in which such recent additions can bubble to the top of a few feeds.)

But if you simply spawn yet another wholly separate new Question thread on this same topic (with some additional details that you missed there and here, or could sensibly add there, or here) then it'll be flagged as a duplicate and may well be deleted. Please don't do that.

@salim-barzani Don't delete anything!

Simply add your followup refinement as a Reply to your Question, here in this Question thread.

@salim-barzani Please don't spawn even more duplicate Question threads on this, just because you haven't received here a response that is satisfactory to you.

@WD0HHU On that code, without the filename being given with absolute path, the location of the file will depend on the value returned by the Maple command currentdir().

And that depends on the OS and how Maple was launched.

Note that in M2024.1, you get a better handling of the middle root with evala(Nans) than simplify(Nans).

I have changed your Post into a Question.

In future, please submit your queries as Questions, not Posts.

Does your browser have a (default) setting for viewing text that is not specified by the page?

In such a scenario people could control their own default by choice, as opposed to heavy-handedly having the posting force it on all viewers.

restart;

interface(version);

`Standard Worksheet Interface, Maple 2024.1, Linux, June 25 2024 Build ID 1835466`

is(abs(x)=max(x,-x)) assuming real;

true

Download Kit_abs_is_20241.mw

(No Physics update installed, fwiw.)

I have changed this from a Post to a Question.

This is the second query of yours in a few days that has been submitted as a Post. Please submit future querues as Questions rather than Posts.

As has been previously requested of you, please put followup queries or details on this topic here, or use the Branch button from here, instead of spawning wholly separate new Question threads for it.

@janhardo Sometimes this member deletes his own Questions; that does not help keep things straight. That also doesn't help since it removes previous answers.

I suspect that sometimes this member might delete an earlier Question so as to be able to post a duplicate. That would seem like very wrong behavior to me, ie. who else would know(?), any earlier answer is lost, etc. Instead, he should either continue the earlier thread by adding followup details queries in a comment, or Branch. But this member's behavior is inconsistent in this regard.

By "this member" I mean the author of this Question, not any moderator.

ps. I've never removed a branched Question as duplicate.

@salim-barzani

1) You asked how to correct your attempt to export the data to Matlab even though you don't know how to plot it in Matlab; to quote: "...I could plot by matlab at there but I didn't try it and I don't know how do that". And you don't know how else to plot the exported data; to quote: "...but since I'm using Notepad, I'm not sure how to plot graphs with this data. I plan to try another approach. Do you have any ideas about graphing this data?".

2) You also seem to have surmised that some 3rd part software will make your desired plot appear, even though your earlier problem with the data was (apparently) in its formulation and structure. If you didn't get the data you wanted in Maple then how could some other software use that same deficient data and produce the plot you want?

@salim-barzani It's not clear what you're now saying about Notepad.

You wrote originally that you wanted to plot the data in Matlab. And you specifically exported to a Matlab format file.

If you want to do some Excel thing then you could instead use ExcelTools:-Export, and export it as .xls format. But, then, why did you say Matlab originally?!

First 19 20 21 22 23 24 25 Last Page 21 of 591