有没有一个matlab函数直接删去矩阵中的字符whos weight_annotation_mat_newName Size Bytes Classweight_annotation_mat_new 495x708 700920 char arrayweight_annotation_mat_new(1,:)ans =0,1,0,0.75,0,0.5,1,0,0,0.25,0,0,1,0,0,0..每一行都有
来源:学生作业帮助网 编辑:作业帮 时间:2024/07/04 13:57:11
![有没有一个matlab函数直接删去矩阵中的字符whos weight_annotation_mat_newName Size Bytes Classweight_annotation_mat_new 495x708 700920 char arrayweight_annotation_mat_new(1,:)ans =0,1,0,0.75,0,0.5,1,0,0,0.25,0,0,1,0,0,0..每一行都有](/uploads/image/z/7106195-11-5.jpg?t=%E6%9C%89%E6%B2%A1%E6%9C%89%E4%B8%80%E4%B8%AAmatlab%E5%87%BD%E6%95%B0%E7%9B%B4%E6%8E%A5%E5%88%A0%E5%8E%BB%E7%9F%A9%E9%98%B5%E4%B8%AD%E7%9A%84%E5%AD%97%E7%AC%A6whos+weight_annotation_mat_newName+Size+Bytes+Classweight_annotation_mat_new+495x708+700920+char+arrayweight_annotation_mat_new%281%2C%3A%29ans+%3D0%2C1%2C0%2C0.75%2C0%2C0.5%2C1%2C0%2C0%2C0.25%2C0%2C0%2C1%2C0%2C0%2C0..%E6%AF%8F%E4%B8%80%E8%A1%8C%E9%83%BD%E6%9C%89)
有没有一个matlab函数直接删去矩阵中的字符whos weight_annotation_mat_newName Size Bytes Classweight_annotation_mat_new 495x708 700920 char arrayweight_annotation_mat_new(1,:)ans =0,1,0,0.75,0,0.5,1,0,0,0.25,0,0,1,0,0,0..每一行都有
有没有一个matlab函数直接删去矩阵中的字符
whos weight_annotation_mat_new
Name Size Bytes Class
weight_annotation_mat_new 495x708 700920 char array
weight_annotation_mat_new(1,:)
ans =
0,1,0,0.75,0,0.5,1,0,0,0.25,0,0,1,0,0,0..每一行都有708个,包括逗号
我想把全部的逗号删掉(矩阵大小改变)
有没有这个函数
有没有一个matlab函数直接删去矩阵中的字符whos weight_annotation_mat_newName Size Bytes Classweight_annotation_mat_new 495x708 700920 char arrayweight_annotation_mat_new(1,:)ans =0,1,0,0.75,0,0.5,1,0,0,0.25,0,0,1,0,0,0..每一行都有
weight_annotation_mat_new(find(weight_annotation_mat_new==','))=[]