photo

HH0825


Last seen: 13 days 前 自 2016 起处于活动状态

Followers: 0   Following: 0

统计学

  • Thankful Level 1

查看徽章

Feeds

排序方式:

提问


How can I delete the rows and columns of a 3D matrix? I tried to use the following Px((1:(Col​umn1-1)),:​,i)=[] but I am getting this error "A null assignment can have only one non-colon index." How can I correct it?
clear all clc dicomlist = dir(fullfile(pwd,'SER_7_Dicoms','*.dcm')); for cnt = 1 : numel(dicomlist) I{cnt} = di...

8 years 前 | 2 个回答 | 0

2

个回答

提问


Can someone explain to me how to use this file with an example? I found it online. It should convert my matlab matrix output to tecplot. I have a code that produces 4 matrices that need to be plotted in tecplot. Do I run it?
function [] = matrixToTecplotBinaryFile(X,Y,contour,output_file_name,title, varnames) % Write matlab matrix into tecplot b...

8 years 前 | 1 个回答 | 0

1

个回答

提问


It seems that matlab is rounding my negative values to 0 when stored in a matrix. How can I undo that? And is the cosine values in the right order?
read = dicomread('2.dcm') [X, map] = dicomread('2.dcm'); %montage(X, map, 'Size', [2 5]); info = dicominfo('2.dcm'); ...

8 years 前 | 4 个回答 | 0

4

个回答