photo

HH0825


Last seen: 13 Tage vor Aktiv seit 2016

Followers: 0   Following: 0

Statistik

  • Thankful Level 1

Abzeichen anzeigen

Feeds

Anzeigen nach

Frage


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...

etwa 8 Jahre vor | 2 Antworten | 0

2

Antworten

Frage


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...

etwa 8 Jahre vor | 1 Antwort | 0

1

Antwort

Frage


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'); ...

etwa 8 Jahre vor | 4 Antworten | 0

4

Antworten