Community Profile

ali hassan

Last seen: etwa ein Jahr vor Aktiv seit 2020

Statistics

All

Abzeichen anzeigen

Content Feed

Anzeigen nach

Frage

array operation in matlab
if i have type cell: a=['hi' 'lo' 'hi']; b=['lo' 'hi' 'hi']; how can i find total number of times when there is 'hi' in a and...

etwa ein Jahr vor | 1 Antwort | 0

1

Antwort

Frage

deleting table above a specific row
if i have a table and it has 05 columns. if i want that when column 3 has a value 25, then delete all the rows above it. and s...

etwa ein Jahr vor | 2 Antworten | 0

2

Antworten

Frage

deleting n entries in matlab
if a=[1 nan 4 nan 4 3 ] how can i delete all nan entries here such that it becomes: a=[1 4 4 3]

etwa ein Jahr vor | 1 Antwort | 0

1

Antwort

Frage

non zero elements in an array
if a=[1 2 4 5 3 0 0 8 0] how can i make the elements greater than or equal to 2 as 1 and smaller than two as 0. so that it be...

etwa ein Jahr vor | 3 Antworten | 0

3

Antworten

Frage

sum in matlab coding
what is the difference between sum(a(1):a(3)) and sum(a(1:3))?

etwa ein Jahr vor | 1 Antwort | 0

1

Antwort

Frage

assume i have a vector array: a=[1 1 1 0 0 1 1 1] how can i put loop such that if sum of any three successive elements is equ...

etwa ein Jahr vor | 1 Antwort | 0

1

Antwort

Frage

array operation in matlab
here we have a vector column 'FF_liter_ho_'.If i want to know that how many times non zero values were greater than 770 in a...

etwa ein Jahr vor | 3 Antworten | 0

3

Antworten

Beantwortet
importing excel sheet in matlab
my excel file is as atttached. when i view it in table, it shows in e form but when i load (HYD1_psi_ ) column in command window...

etwa ein Jahr vor | 0

Frage

vector array in matlab
assume i have folllowing vector column named as ALT_digit_ i want to know the number of times 'hi' comes ...

etwa ein Jahr vor | 3 Antworten | 0

3

Antworten

Beantwortet
importing excel sheet in matlab
the values in table and command window are totally different though i changed the style.

etwa ein Jahr vor | 0

Frage

importing excel sheet in matlab
i just imported an excel sheet in matlab. Then i selected a vector column and loaded it from excel sheet. but data was disorgani...

etwa ein Jahr vor | 3 Antworten | 0

3

Antworten

Frage

if loop on array
i want to use if loop on a array. let say if i have two arrays: a=[1 2 3 4 5] b=[2 3 4 5 6] now if i want to use if loop suc...

etwa ein Jahr vor | 2 Antworten | 0

2

Antworten

Frage

file path error in matlab
what does change folder and add to path means and how it works?

etwa ein Jahr vor | 1 Antwort | 0

1

Antwort

Frage

color in output in matlab
let say if i want my output for certain condition in red or green clor,can it be done so? a=[1 2 3 4 4]; b=[1 2 3 4 5]; if an...

etwa ein Jahr vor | 1 Antwort | 0

1

Antwort

Beantwortet
I want to design a Homework Problem Solver
there are two possible answers for it: 1) exracting the variables from string. a solution suggested by @DGM @Rik. i just put lo...

etwa ein Jahr vor | 0

Frage

if loop error in MALAB
i am using the following if loop but it is not executing: n=[] if n==[] sprintf('a') end it dose not print 'a'

etwa ein Jahr vor | 1 Antwort | 0

1

Antwort

Frage

extract variables from string
let say,i have a string: "Given P = 100 kpa, V = 2 litres, T = 273 K, R = 8.314 Solve for n." how can i extract all variables ...

etwa ein Jahr vor | 0 Antworten | 0

0

Antworten

Beantwortet
How to deblur an image where the text is blurred by imgaussfilt() function?
what is the benifit of bluring and what are its application?

etwa ein Jahr vor | 0

Frage

update a string function in matlab
i am using sprintf to generate a message but how can i get a string 'and' in my message between 4 and 5 which is vector b a=5;...

etwa ein Jahr vor | 1 Antwort | 0

1

Antwort

Frage

operation in matrix in matlab
if i want to know the number of times an condition is fullfilled for a matrix, how can i do so; a=[3 4 2 5 3 5]; %defining a m...

etwa ein Jahr vor | 2 Antworten | 0

2

Antworten

Frage

saving output in a text file
how can i make my answer get saved in a text file?

etwa ein Jahr vor | 1 Antwort | 0

1

Antwort

Frage

uigetfile error in MATLAB
i am using uigetfile to select a file in my DESIGNAPP. once the file is selected, the app minimizes. i dont want it to happen....

etwa ein Jahr vor | 0 Antworten | 0

0

Antworten

Frage

*.* and %s meaning in MATLAB
what does these symbols mean in MATLAB *.* and %s

etwa ein Jahr vor | 1 Antwort | 0

1

Antwort

Frage

using output of one button as an input in another button
first i am using following command to get path and filename: [filename,pathname] = uigetfile('*txt'); then i want to give thes...

etwa ein Jahr vor | 1 Antwort | 0

1

Antwort

Frage

can anyone please explain me the following command? A = readtable(fullfile(pathname,filename)); is this command used when i wa...

etwa ein Jahr vor | 1 Antwort | 0

1

Antwort

Frage

file path issue in matlab
i have made a GUI and i am using: iugetfile('filename') to select the file but if the file is not present in MATLAB path, the ...

etwa ein Jahr vor | 1 Antwort | 0

1

Antwort

Frage

file path error in matlab
when i am running a command in matlab, it says: >> a=readtable('111..txt','PreserveVariableNames',true) Error using readtable ...

etwa ein Jahr vor | 1 Antwort | 0

1

Antwort

Frage

keeping the variable names same
i am importing a text file and keeping the variable header names same by using: readtable('111..txt','PreserveVariableNames',tr...

etwa ein Jahr vor | 1 Antwort | 0

1

Antwort

Frage

i have a text file which is having 8 different colums. i want to load this text file and save the colums as vectors. filename='...

etwa ein Jahr vor | 1 Antwort | 0

1

Antwort

Frage

import text file in vector form in gui
i am making a GUI. i want to import a .txt file in vector colums. how can i do this in GUI.

etwa ein Jahr vor | 0 Antworten | 0

Antworten