当前位置:网站首页>[tips] get the x-axis and y-axis values of cdfplot function in MATLAB
[tips] get the x-axis and y-axis values of cdfplot function in MATLAB
2022-07-05 10:06:00 【FPGA and MATLAB】
stay matlab Through cdfplot Draw the cumulative distribution function curve of the data , The following procedure :
clc;
clear;
close all;
warning off;
x = rand(1,1000).^4;
cdfplot(x)
The operation results are as follows :
So how to get from cdfplot Get the corresponding value in ? It's simple , We will make the following adjustments to the above procedure .
clc;
clear;
close all;
warning off;
x = rand(1,1000).^4;
[xx]=cdfplot(x);
x1 = xx.XData;
y1 = xx.YData;
figure;
plot(x1,y1);
After operation , Visible and direct cdfplot The output of , This explanation x1 and y1 It's from cdfplot Data extracted from .
边栏推荐
- uni-app---uni. Navigateto jump parameter use
- Three-level distribution is becoming more and more popular. How should businesses choose the appropriate three-level distribution system?
- 移动端异构运算技术-GPU OpenCL编程(进阶篇)
- From "chemist" to developer, from Oracle to tdengine, two important choices in my life
- 硬核,你见过机器人玩“密室逃脱”吗?(附代码)
- 正式上架!TDengine 插件入驻 Grafana 官网
- 从“化学家”到开发者,从甲骨文到 TDengine,我人生的两次重要抉择
- Mobile heterogeneous computing technology GPU OpenCL programming (Advanced)
- Tdengine can read and write through dataX, a data synchronization tool
- Wechat applet - simple diet recommendation (2)
猜你喜欢
代码语言的魅力
How to use sqlcipher tool to decrypt encrypted database under Windows system
Unity粒子特效系列-毒液喷射预制体做好了,unitypackage包直接用 -下
H.265编码原理入门
硬核,你见过机器人玩“密室逃脱”吗?(附代码)
How to improve the operation efficiency of intra city distribution
基于模板配置的数据可视化平台
Roll up, break 35 - year - old Anxiety, animation Demonstration CPU recording Function call Process
How to implement complex SQL such as distributed database sub query and join?
oracle 多行数据合并成一行数据
随机推荐
Apache DolphinScheduler 系统架构设计
ThreadLocal source code learning
宝塔面板MySQL无法启动
Mobile heterogeneous computing technology GPU OpenCL programming (Advanced)
About getfragmentmanager () and getchildfragmentmanager ()
Baidu app's continuous integration practice based on pipeline as code
tongweb设置gzip
Why don't you recommend using products like mongodb to replace time series databases?
Tutorial on building a framework for middle office business system
Analysis on the wallet system architecture of Baidu trading platform
Viewpager pageradapter notifydatasetchanged invalid problem
Node-RED系列(二九):使用slider与chart节点来实现双折线时间序列图
百度智能小程序巡检调度方案演进之路
美图炒币半年亏了3个亿,华为被曝在俄罗斯扩招,AlphaGo的同类又刷爆一种棋,今日更多大新闻在此...
Roll up, break 35 - year - old Anxiety, animation Demonstration CPU recording Function call Process
Cut off 20% of Imagenet data volume, and the performance of the model will not decline! Meta Stanford et al. Proposed a new method, using knowledge distillation to slim down the data set
解决Navicat激活、注册时候出现No All Pattern Found的问题
Openes version query
Officially launched! Tdengine plug-in enters the official website of grafana
基于单片机步进电机控制器设计(正转反转指示灯挡位)