필터 지우기
필터 지우기

How to change the sign of a whole vector?

조회 수: 1 (최근 30일)
Martha
Martha 2014년 2월 11일
댓글: Martha 2014년 2월 11일
Hi, I want to plot the displacements from a compressive test, but my data is in negative sign. I have a vector like this but much longer of 588 columns in one row: A[ -0.1039 -0.1085 -0.1084 -0.1108 -0.1126 -0.1107] How can I change the sign of all the values to plot a positive graph? Thank you! Martha

채택된 답변

Azzi Abdelmalek
Azzi Abdelmalek 2014년 2월 11일

추가 답변 (0개)

카테고리

Help CenterFile Exchange에서 2-D and 3-D Plots에 대해 자세히 알아보기

태그

Community Treasure Hunt

Find the treasures in MATLAB Central and discover how the community can help you!

Start Hunting!

Translated by