These forums are a place for learning, helping and sharing experiences with others about any of our products. Feel free to ask a question and get answers from our community and our most advanced users.
Note that these are public forums - anyone can view the discussions here.
VISIT OUR DIFFERENT FORUMS:
Announcements > | |
CloudShell > | TestShell > |
Developers > | BI (Business Inteligence) > |
This is where you can suggest your ideas to help and improve the product for everyone.
Please make sure to read the following article before posting a new idea, to get more information about the required information and ideas lifecycle.
Feel free to vote and comment on other ideas to promote them.
Thanks for everyone who suggested the ideas and voted for them.
Find, download and share integrations that can extend and enhance the CloudShell experience.
Integrations have several levels:
Certified - Officially tested and supported by Quali.
Preview - Provides a sneak peek to what the Quali team is developing. Officially supported by Quali. Feel free to experiment and comment, but please take into consideration that it is not yet tested and released.
Community - Integrations shared by community users. Feel free to look into what other users have contributed, please take into consideration that these integrations are not tested by Quali.
To learn more about creating Shells and integrating with CloudShell, use the following links:
CloudShell's Dev Guide > | Configuration Management > |
Getting started with Shells > | Extending CloudShell with Cloud Providers > |
Getting started with Orchestration > | API Guide > |
To share your integration, follow the instructions in this guide >.
I have a matrix that captures about 100 rows of data, but I want to take a sub-range of ~60 rows from the matrix. Is there a syntax for selecting rows and/or columns of a matrix by index-ranges? An example would be I want to copy all columns within rows 10 through 70.
I would like to do this under either Matshell or the Transform modules of TestShell Studio.
Answer by Song Chen · Nov 07, 2017 at 11:53 PM
Hi,
Not sure if this answers your question: say you have a matrix variable M1 of string type with 100 rows and 10 columns; then M1(10:70, :) is sub-matrix of M1, having all columns within rows 10 through 70.
So the syntax of any subset of a matrix is <Matrix variable name>(<row index range>, <column index range), where row or column index range can be "m:n" (meaning index m through n), "m:end" (meaning index m through the end, or in other word last row/column), or ":" (meaning all rows/columns). Depending on the actual dimension of this subset, it can be a matrix (like in your example), a vector, or a scalar.
Answer by Kimo Saper · Nov 17, 2017 at 09:29 PM
In addition when using Matrixes in TestShell/CloudShell Authoring you can also specify rows and columns by the value in the first spot respectively. This also carries over to specifying ranges as well.
In this example, I built a simple matrix that would double as a look up table:
screen-shot-2017-11-17-at-132731.png
to build the sub_matrix table, this is the code:
sub_matrix = my_m('Dog':'Cat', :)
These forums are a place for learning, helping and sharing experiences with others about any of our products. Feel free to ask a question and get answers from our community and our most advanced users.
Note that these are public forums - anyone can view the discussions here.
Announcements | |
CloudShell | TestShell |
Developers | BI (Business Inteligence) |
This is where you can suggest your ideas to help and improve the product for everyone.
Please make sure to read the following article before posting a new idea, to get more information about the required information and ideas lifecycle.
Feel free to vote and comment on other ideas to promote them.
Thanks for everyone who suggested the ideas and voted for them.
Find, download and share integrations that can extend and enhance the CloudShell experience.
Integrations have several levels:
Certified - Officially tested and supported by Quali.
Preview - Provides a sneak peek to what the Quali team is developing. Officially supported by Quali. Feel free to experiment and comment, but please take into consideration that it is not yet tested and released.
Community - Integrations shared by community users. Feel free to look into what other users have contributed, please take into consideration that these integrations are not tested by Quali.
To learn more about creating Shells and integrating with CloudShell, use the following links:
CloudShell's Dev Guide | Configuration Management |
Getting started with Shells | Extending CloudShell with Cloud Providers |
Getting started with Orchestration | API Guide |
To share your integration, follow the instructions in this guide.