Network Security Internet Technology Development Database Servers Mobile Phone Android Software Apple Software Computer Software News IT Information

In addition to Weibo, there is also WeChat

Please pay attention

WeChat public account

Shulou

How to realize Geometry expansion by matlab

2025-02-24 Update From: SLTechnology News&Howtos shulou NAV: SLTechnology News&Howtos > Internet Technology >

Share

Shulou(Shulou.com)06/01 Report--

In this article Xiaobian for you to introduce in detail "matlab how to achieve geometry expansion", the content is detailed, the steps are clear, the details are handled properly, I hope this "matlab how to achieve geometry expansion" article can help you solve your doubts, the following follow the editor's ideas slowly in-depth, together to learn new knowledge.

Geometric expansion

X = [- 6-6-7 07 6 6-3-300

-7 2 1 8 1 2-7-7-2-2-7]

X_avg = mean (XP2)

[~, n] = size (X)

Xampp = X-repmat (x_avg, 1,n)

% pan to origin

Krypx = 0.8

Krypy = 0.8

K = [krypx 0]

0 k_y]

% set transformation matrix

Y = k * Xroomp

Y = Y + repmat (x_avg, 1, n)

% translate back

X (:, end+1) = X (:, 1)

Plot (X (1), X (2),'. -', 'markersize',18,'linewidth',2)

Hold on

Y (:, end+1) = Y (:, 1)

Plot (Y (1m:), Y (2m:),'. -', 'markersize',18,'linewidth',2)

Axis square

Read this, the "matlab how to achieve geometric scaling" article has been introduced, want to master the knowledge of this article also need to practice and use to understand, if you want to know more about the article, welcome to follow the industry information channel.

Welcome to subscribe "Shulou Technology Information " to get latest news, interesting things and hot topics in the IT industry, and controls the hottest and latest Internet news, technology news and IT industry trends.

Views: 0

*The comments in the above article only represent the author's personal views and do not represent the views and positions of this website. If you have more insights, please feel free to contribute and share.

Share To

Internet Technology

Wechat

© 2024 shulou.com SLNews company. All rights reserved.

12
Report