MATLAB神经网络中的seq2con()

seq2con

源文档解释:Convert sequential vectors to concurrent vectors

源文档例1:

p1 = {1 4 2}

p2 = seq2con(p1)

结果:

p1 =

1×3 cell 数组

{[1]} {[4]} {[2]}

p2 =

1×1 cell 数组

{1×3 double}

{[1,4,2]}

源文档例2:

p3 = {[1; 1] [5; 4] [1; 2]; [3; 9] [4; 1] [9; 8]}

p4 = seq2con(p3)

结果:

p3 =

2×3 cell 数组

{2×1 double} {2×1 double} {2×1 double}

{2×1 double} {2×1 double} {2×1 double}

p4 =

2×1 cell 数组

{2×3 double}

{2×3 double}

{[1,5,1;1,4,2]}

{[3,4,9;9,1,8]}


con2seq

源文档解释:Convert concurrent vectors to sequential vectors

源文档例1:

相关推荐
studyer_domi9 小时前
Matlab 234-锂电池充放电仿真
开发语言·matlab
翱翔-蓝天1 天前
MATLAB 在医疗行业的应用
开发语言·matlab
hie988941 天前
matlab稳定求解高精度二维对流扩散方程
算法·机器学习·matlab
买了一束花1 天前
MATLAB导出和导入Excel文件表格数据并处理
人工智能·算法·matlab
是代码侠呀1 天前
飞蛾扑火算法matlab实现
开发语言·算法·matlab·github·github star·github 加星
phoenix@Capricornus2 天前
MATLAB Deep Learning Toolbox
人工智能·深度学习·matlab
passionSnail2 天前
《用MATLAB玩转游戏开发》Flappy Bird:小鸟飞行大战MATLAB趣味实现
开发语言·matlab
yt948322 天前
Matlab实现绘制任意自由曲线
开发语言·matlab
IT猿手2 天前
基于 Q-learning 的城市场景无人机三维路径规划算法研究,可以自定义地图,提供完整MATLAB代码
深度学习·算法·matlab·无人机·强化学习·qlearning·无人机路径规划
机器学习之心2 天前
MATLAB的cvpartition函数用法
matlab