필터 지우기
필터 지우기

How to apply tangent function to each element in a cell array?

조회 수: 1 (최근 30일)
akash sonnad
akash sonnad 2019년 1월 16일
답변: Walter Roberson 2019년 1월 16일
suppose, slope={ [ ], [-0.076,-1.45,-20.5,-0.49], [ ] }; I want to get the angles(radians or degrees) by applying tangent function. How do I do it?

채택된 답변

Walter Roberson
Walter Roberson 2019년 1월 16일
cellfun(@tan, slope, 'uniform', 0)

추가 답변 (0개)

카테고리

Help CenterFile Exchange에서 Data Types에 대해 자세히 알아보기

Community Treasure Hunt

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

Start Hunting!

Translated by