photo

HH0825


Last seen: 13 giorni fa Attivo dal 2016

Followers: 0   Following: 0

Statistica

  • Thankful Level 1

Visualizza badge

Feeds

Visto da

Domanda


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

circa 8 anni fa | 2 risposte | 0

2

risposte

Domanda


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

circa 8 anni fa | 1 risposta | 0

1

risposta

Domanda


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

circa 8 anni fa | 4 risposte | 0

4

risposte