Community Tip - Want the oppurtunity to discuss enhancements to PTC products? Join a working group! X
Hi..
Please can i know, what is the equivalent matlab function ones which creates m x n matrix with value of 1.
I want to create matrix with all values are 1 (m x n) matrix.
please find below matlab function:
Regards,
Prashant Pandarkar
Solved! Go to Solution.
Yes. Thanks.
But I am not able to understand the code please can you explain it?
what is the value for ORIGIN ?
Thanks,
Prashant Pandarkar
Origin is a number first row or column of matrix
0 or 1 usually
Prime
prashant pandarkar wrote:
Hi..
Please can i know, what is the equivalent matlab function ones which creates m x n matrix with value of 1.
I want to create matrix with all values are 1 (m x n) matrix.
please find below matlab function:
Here's another way of doing it - I've got these two functions in my standard Utilities library:
The second set of functions gives you ORIGIN independence.
Stuart
I have only one Mathcad-sheet where ORIGIN is not 0 nor 1.
See please the Dice game statistic
I think it is a solution