community profile

photo

guillaume -凯发k8网页登录


university of brighton

last seen: 30 days 前 自 2012 起处于活动状态

统计数据

all

content feed

排序方式:
已回答

you simply have to go back to the definition of odd and even. an (integer) number is even if it is divisible by 2, odd otherwise...

2 months 前 | 6

| 已接受

已回答

regionfill seems to be the function you're after. so: newimage = regionfill(yourimage, isnan(yourimage));

3 years 前 | 0

已回答

"from a tool" is this tool public? can we see its documentation or download it somewhere? if not, it's going to be difficult to ...

3 years 前 | 1

已回答

assuming all the image formats (list required!) are supported by matlab, the process for each image would be: originalimage = i...

3 years 前 | 1

| 已接受

已回答

note that since r2019b, you can write literal hexadecimal (and binary) numbers directly into matlab. i don't have the mapping t...

3 years 前 | 1

| 已接受

已回答

raw(row_nummber,2) is a cell array (made of just one cell), raw{row_number, 2} is the content of that cell. as long as that con...

3 years 前 | 0

| 已接受

已回答

you may want to bite the bullet and implement your own queue class in matlab as i've suggested before. otherwise, one possibili...

3 years 前 | 0

已回答

indeed, you will end with just the data for the last file in the excel file since for each file, you overwrite what you wrote in...

3 years 前 | 0

| 已接受

已回答

i've just discovered that there are several versions of the onramp course (r2018b, r2019a, and r2019b). the last two have slight...

3 years 前 | 0

| 已接受

已回答

"1) find maximum number from a given array" "2) then use find function to detect the maximum element idexing" have a look at t...

3 years 前 | 0

已回答

[i, j, c] = find(tril(yourmatrix)) seems to be what you're after.

3 years 前 | 0

| 已接受

已回答

what the error message is telling you is that in get_volumetricsource at the point you do: if strcmpi(load_type.case,'homogeneo...

3 years 前 | 1

| 已接受

已回答

"invalid file identifier. use fopen to generate a valid file identifier." you will typically get this error because the file id...

3 years 前 | 2

| 已接受

已回答

how can i fix this? by ensuring that time has at least 1 column before calling your function. at the moment, it is empty since ...

3 years 前 | 0

已回答

the simplest thing would be to add one column to each timetable to indicate the timetable of origin, then concatenate all these ...

3 years 前 | 0

已回答

"i don't understant what a non-scalar structure implies at the moment but i'll look into it" a non-scalar structure is simply a...

3 years 前 | 0

| 已接受

已回答

rather than coming up with your own code, i'd recommend using the filloutliers method. it doesn't have a detection method for 'm...

3 years 前 | 0

已回答

left = 100*round(left,2); in theory, this should indeed give you integers. unfortunately, with floating points (double), this i...

3 years 前 | 1

| 已接受

已回答

mean like many functions in matlab operates along the first non-scalar dimension of a matrix. your h is a 2d matrix, so the firs...

3 years 前 | 1

| 已接受

已回答

since you don't specify the full path of the file, matlab looks for it in the current directory (whatever that may be) or any fo...

3 years 前 | 2

| 已接受

已回答

the short answer is that no, unfortunately, there's no queue implemented in base matlab (there may be something hidden in one of...

3 years 前 | 2

已回答

i like the functional programming aspect of arrayfun (it clearly says: apply this function to all the elements of these sequence...

3 years 前 | 1

| 已接受

已回答

you're trying to vertically concatenate arrays with different number of columns (2, 1, 1, and 20), which indeed is not possible ...

3 years 前 | 0

| 已接受

已回答

if your cell array is indeed a cell array of single characters, then you'd be better off storing it as a char matrix: input = c...

3 years 前 | 0

已回答

"i have read that xlsread does not work on mac and i would like to know if someone could explain why and if there are work aroun...

3 years 前 | 1

| 已接受

已回答

"however what i could think of is that matlab tries to guess the encoding" i've had discussions with mathworks support about th...

3 years 前 | 1

| 已接受

已回答

"histcounts makes a rounding decison when a value is exactly on a a bin edge." no, you misunderstand how histcounts works. as i...

3 years 前 | 0

| 已接受

已回答

"would you please tell me a general code to import any type of extension" there isn't. how you import a file completely depends...

3 years 前 | 1

已回答

see generate field names from variables which also applies to class properties. for i = 1:numel(components) %prefer numel to l...

3 years 前 | 0

| 已接受

已回答

"the problem is that when i enter digits greater than 16" you mean when you enter more than 16 digits? indeed your code cannot...

3 years 前 | 0

网站地图