Post Your Answer
Plotting of the rings
6 years ago in Dissertation/Thesis By Aanchal S
Hey, everyone, the sole problem which is troubling me nowadays is to plot two rings in 3D. I have no idea about it, but I need to learn it as soon as possible because my deadline is approaching and I have to use it in my thesis.
So, please help, and I would appreciate an early help.
Thanks in advance!!
All Answers (1 Answers In All)
By Mansi Singhal Answered 6 years ago
Try this code: N1 = 200; % Number Of Points In Ring R1 = 0.25 + 0.2*(rand(1, N1)-0.5); % Random Marker Radii A1 = linspace(0, 2*pi, N1); % Define Angle Vector Ring1 = R1.*[cos(A1); sin(A1)]; % Create Ring Coordinates N2 = 200; R2 = 0.85 + 0.2*(rand(1, N1)-0.5); A2 = linspace(0, 2*pi, N1); Ring2 = R2.*[cos(A1); sin(A1)]; figure plot(Ring1(1,:), Ring1(2,:), ‘^b’, ‘MarkerFaceColor’,’b’) hold on plot(Ring2(1,:), Ring2(2,:), ‘or’, ‘MarkerFaceColor’,’r’) hold off axis equal N1 = 200; % Number Of Points In Ring R1 = 0.25 + 0.2*(rand(1, N1)-0.5); % Random Marker Radii Z1 = 0.10 + 0.2*(rand(1, N1)-0.5); % Random Z-Values A1 = linspace(0, 2*pi, N1); % Define Angle Vector Ring1 = R1.*[cos(A1); sin(A1)]; % Create Ring Coordinates N2 = 200; R2 = 0.85 + 0.2*(rand(1, N1)-0.5); Z2 = 0.80 + 0.2*(rand(1, N1)-0.5); A2 = linspace(0, 2*pi, N1); Ring2 = R2.*[cos(A1); sin(A1)]; figure plot3(Ring1(1,:), Ring1(2,:), Z1, ‘^b’, ‘MarkerFaceColor’,’b’) hold on plot3(Ring2(1,:), Ring2(2,:), Z2, ‘or’, ‘MarkerFaceColor’,’r’) hold off axis equal grid on
asked at 08 Oct, 2020 16:34 in Dissertation/Thesis By Krishan Pancholi
asked at 14 Dec, 2019 12:12 in Dissertation/Thesis By Varsha
asked at 13 Dec, 2019 10:11 in Dissertation/Thesis By Shiran Khan
asked at 26 May, 2019 11:01 in Dissertation/Thesis By Vishwanath Panwar
asked at 19 May, 2019 11:09 in Dissertation/Thesis By Neethi
asked at 30 Apr, 2019 09:12 in Dissertation/Thesis By Aliya Tazeen
asked at 29 Apr, 2019 09:17 in Dissertation/Thesis By Vishwanath Panwar
asked at 25 Apr, 2019 08:17 in Dissertation/Thesis By Renu
asked at 21 Apr, 2019 07:18 in Dissertation/Thesis By Sumitra M
asked at 20 Apr, 2019 08:11 in Dissertation/Thesis By Yashaswini Singh
asked at 17 Apr, 2019 09:12 in Dissertation/Thesis By Rishabh Khanna
asked at 08 Apr, 2019 09:08 in Dissertation/Thesis By Nisha Singh
asked at 10 Mar, 2019 09:24 in Dissertation/Thesis By Mukesh B
asked at 05 Mar, 2019 06:52 in Dissertation/Thesis By Preetham M
asked at 19 Feb, 2019 08:23 in Dissertation/Thesis By Ashish Prahakar
717122 Bhagirathi Bisht
Query regarding image processing
653563 Sonam Bhatia
749713 Muhammad Umar Farooq
Disagreements between my supervisor and me
773344 Anju Mehera
716442 Muhammad Umar Farooq
Difference between multivariate and bivariate analysis
848412 Lalit Mudra
697371 Rahul Kohli
710337 Raghav V
Peer reviews are reliable or not?
678515 Priyanshu Rathore
- Angular
- Research Objectives
- PhD Admissions
- Action Research
- APA Style
- Annexure I Journals
- Academic Writing
- Abstract
- Architecture
- Architecture
- Assignments
- Bibliography
- Case Study
- Citations
- Concept Matrix
- Concept Paper
- Conceptual Framework
- Conclusion
- Content Analysis
- Corrections
- Cross Sectional Study
- CST Software
- PhD Data
- Data analysis
- Data Collection
- Data Analysis
- Descriptive Statistics
- Design
- Discussion
- Dissertation
- Draft
- Editing
- Empirical Paper
- Engineering
- English literature
- Ethnobotanical
- Ethnographic Method
- Excel
- Executive Summary
- Financial analysis
- Formatting
- Grammarly
- Grounded theory
- Guidelines
- HR
- Hypothesis
- Impact Factor Journals
- Interview
- Introduction
- Java
- Journal
- LabVIEW
- Latex
- Literary Analysis Techniques
- Literature
- Literature Review
- Longitudinal study
- Management
- Material for study
- Matlab
- Methodology
- MLA Format
- MLA Style
- Objectives
- Peer Review
- Paper Publication
- PhD
- PhD Funding
- PhD Interview
- PhD planner
- PhD Thesis
- PhD Management
- Pilot Study
- Plagiarism Check
- Presentation
- Psychology
- Qualitative Data
- Quantitative methods
- Qualitative Method
- Qualitative research
- Qualitative Research
- Quantitative research
- Questionnaire
- References
- Referencing
- Report Writing
- Research design
- Research Methodology
- Research methods
- Research objective
- Research Paper
- Research philosophy
- Research Problem
- Research Proposal
- Research Question
- Research Hypotheses
- Review Paper
- Revisions
- Sample
- SCI Journals
- Secondary Data Analysis
- Secondary Source
- Software
- Software for Plagiarism
- SPSS
- SQL
- SSCI Journals
- STATA
- Statistical Tests
- Structural Analysis
- SWOT Analysis
- Synopsis
- Technical Writing
- Thematic Analysis
- Thomson Reuters
- Topic
- Topic Selection
- Turnitin
- University Guidelines
- Variables
- Writing
- Writing Editing
- Testtag
- Dissertation
- Simulation
- Coding
- Scientific Manuscript
- Algorithms
- Design
- Software
- Statistical Analysis
- Analysis
- Supervising
- Parametric Test
- Parameter
- Submission
- Base Paper
- Interpretation
- Dissipation Systems
- Data Science
- Machine Learning
- Hybrid Electric
- Power Control
- ArcGiS
- Spatial Analysis
- Switching
- Simulink
- Artificial Intelligence
- Deep Learning
- Panel Data
- Reliability
- Pandemic
- COVID-19
- HRM
- Ansys
- Multiphase Flow Modelling
- Remote Sensing Software
- ENVI
- Qualitative Research
- Thinking
- Likert Scale
- Scale Construction
- Sample Size
- Methodology
- Questionnaire
- Regression
- Linear Equation
- Linear Programming
- Wireless Communications
- Digital Communications
- Wireless Network
- Publications
- Publications
- Scientific Research
- Convergent Variant
- Conferences
- Conferences
- Abstracts
- Bioinformatics
- Differential Gene
- Survey
- Somatic Cell Nuclear Transfer
- Research Design
- Writing
- Microsoft Windows
- Student
- Circuits
- Digital
- Serum
- Plasma
- Polymerase Chain Reaction
- Solar Collector
- Heat Transfer
- Radiation
- API
- Python
- Research Paper
- Design Thinking
- Training
- Psychology
- Python
- R Programming
- Primer
- Journal Impact Factor
- Conferences
- Big Data
- Cloud Computing
- Human Behavior
- Structural Equation Modelling
- SEM Analysis
- Applied Mathematics
- Dynamical Systems
- Statistics
- Blockchain
- Testing
- Publications
- Amos
- EViews
- NS2
- NS3
- Data Analysis Tool
- Conceptual Framework
- CST Software
- Dissertation
- Indroduction
- Structural Analysis
- Renewable Energy
- Medicine
- AI Model
- science experiments
- FUTURE TECH