Question

Using ismember on vector with strings

Hi, I am wonderinh whether I can write something like this: If any(ismember(result , [" nafor", "kform", "acet"]))

2 months ago | 1 answer | 0

Question

what does ismember actually mean?

S={'NH4Cl'; 'MgCl2'; 'CaCl2'; 'ZnCl2'; 'ZnSO4'; 'NaCl'}; str={'Choose the combinations of salts available'}; result=listdlg('P...

2 months ago | 1 answer | 0

Question

using or (||) with ismember function

result_var=[ 1 7 10]; if (all(ismember(result_var,[ 1 7 10]))||all(ismember(result_var, [2 7 10]))) disp('hei') end % i ...

2 months ago | 0 answers | 0

Question

problems in saving files

Hi! I am experiencing problems in saving matlab files on my usb sticks. All other files are possible to save as word..etc

2 months ago | 0 answers | 0

Question

Problems in running functions

Hi Dont know what the problem is yesterday I couldnt save the functions in Matlab and now not able to run them...

2 months ago | 0 answers | 0

Question

problems using && with dropdown list result

hi! S={'NH4Cl'; 'MgCl2'; 'CaCl2'; 'ZnCl2'; 'ZnSO4'; 'NaCl'}; >> str={'Choose the combinations of salts available'}; >> result...

2 months ago | 2 answers | 0

Question

who can use the matlab compiler?

hi! I have matlab lisense and now downloading matlab compiler, but as I understand from the steps written on your web page,...

3 months ago | 1 answer | 0

Question

Sharing with somebody who hasnt Matlab

Hi How can I share some of my work with people who dont have Matlab apart from publishing it..mean I have heard that though p...

3 months ago | 1 answer | 0

Question

whats wrong with this if block?

% WHATS WRONG WITH THIS IF BLOCK, AM NOT GETTING UNKNOWN AS A RESULT WHERE % IT HAS TO GIVE ME THIS RESULT. WHEN i JUST RUN T...

3 months ago | 1 answer | 0

Question

not_correct_ouput

the output I get loooks like this: see the attachment 'stygt. and this is how my code looks like: combinations_available=...

3 months ago | 0 answers | 0

Question

why am I getting 'ugly' output?

combinations_available=input(['Enter the number associated with the combination of salts available. Enter 0 if none of the combi...

3 months ago | 1 answer | 0

Question

getting error using code for continuing input on new line

Hi I am getting error when I run this part of my code: function det_beste_saltet=find_best_salt_available() % antar at maks...

3 months ago | 1 answer | 0

Question

when an input is too long, how can I use ... as part of the input statement?

my input resemble this statement combinations_available=input('Enter the number associated with the combination of salts ava...

3 months ago | 1 answer | 0

Question

do you have some videos about tables in Matlab?

hi Was wondering whether you could send me some links of videos dealing with tables in Matlab,,cant find webinars about them ...

11 months ago | 1 answer | 0

Question

Use of handle in matlab 2013b

hi I am wondering whether I can use the handle function in my functions when I am using matlab 2013b.

11 months ago | 3 answers | 0

Answered

why cant I run the dataset functions now?

but is it possible here to use dataset functions like nominal with tables..? (13b)

why cant I run the dataset functions now?

but is it possible here to use dataset functions like nominal with tables..? (13b)

11 months ago | 0

Answered

problems_in_using_nominal

what does that mean .."the maintenance service " expired

problems_in_using_nominal

what does that mean .."the maintenance service " expired

11 months ago | 0

Question

why cant I run the dataset functions now?

I have earlier worked with dataset on my previous computer . dont remember which release I had downloaded but abt one year ago I...

11 months ago | 3 answers | 0

Answered

problems_in_using_nominal

i will try this..but think it is strange that when i try to install matlsb 2018b againg it doesnt ask me which toolboxes I want ...

problems_in_using_nominal

i will try this..but think it is strange that when i try to install matlsb 2018b againg it doesnt ask me which toolboxes I want ...

11 months ago | 0

Question

problems_in_using_nominal

Hi I have problemms in using nominal function; the error I get is that it is part of statistics and machine learning package. ...

11 months ago | 3 answers | 0

Question

Do I have a student version of Matlab or not?

i dont remember whether I bought the studentversion of Matlab or not..the only thing I remember is that on my previous computer ...

11 months ago | 2 answers | 0

Answered

whats wrong with this code?

as I wrote earlier I think the input is a character array from my script..that I set equal to column from my dataset , in my sc...

whats wrong with this code?

as I wrote earlier I think the input is a character array from my script..that I set equal to column from my dataset , in my sc...

11 months ago | 0

Answered

whats wrong with this code?

i know the difference between strcmpi n that without i. always use the one with i to be on the safe side. matlab 2018b

whats wrong with this code?

i know the difference between strcmpi n that without i. always use the one with i to be on the safe side. matlab 2018b

11 months ago | 0

Question

whats wrong with this code?

Hi I am getting the disp output four times instead of three which is correct and should be displayed after executing this code: ...

11 months ago | 3 answers | 0

Question

disp codes allowed using with continue in for loops

Hi, I have tried using disp codes right after an if statement, before continue, is it allowed. ? but I dont get the right answe...

11 months ago | 0 answers | 0

Question

error_while_using_nominal

Hi I get this error when I try to use nominal, formations=nominal(PETROFYSIKK.LITOLOGI); 'nominal' requires Statistics an...

11 months ago | 0 answers | 0

Question

I dont know why I am getting error saying statistics and mechine learning toolbox is required

I have not got this message earlier when I have used dataset in programming while executing this code: data= dataset('xlsfile', ...

11 months ago | 1 answer | 0

Question

indexing with global variables in function statements

Hi! can I not include a global variable in an output in a function like this: function sigma_v_eff_sona(zone_number,1)=ef...

2 years ago | 2 answers | 0

Question

request user for input

hi! dont know why I am getting error here, shouldnt i think, its quite a simple syntax: svar=input('answer yes:y or no:n...

2 years ago | 1 answer | 0

Question

question regarding global variables

Hi! I am wondering whether a global variable can be looked up as a local variable, meaning you calculate it in a function bu...

2 years ago | 1 answer | 0