开始使用免费开始使用

Slicing arrays

Slicing is a key skill you will need to work with arrays. You will often use slicing to select specific parts of the datasets you are working with. The elements of data you exclude can be as important as those you include.

In this exercise, you will be slicing sections out of the following array, which is available in your environment:

x = ['a', 'b', 'c', 'd', 'e', 'f', 'g']

本练习是课程的一部分

Introduction to Julia

查看课程

动手互动练习

通过我们的互动练习之一,将理论转化为实践

开始练习