Community Profile

photo

ali hassan


Last seen: 10 maanden ago Active since 2020

Statistics

All
  • First Answer
  • Thankful Level 4
  • Solver
  • First Review

View badges

Content Feed

View by

Question


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

ongeveer 2 jaar ago | 1 answer | 0

1

answer

Question


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

ongeveer 2 jaar ago | 2 answers | 0

2

answers

Question


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]

ongeveer 2 jaar ago | 1 answer | 0

1

answer

Question


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

ongeveer 2 jaar ago | 3 answers | 0

3

answers

Question


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

ongeveer 2 jaar ago | 1 answer | 0

1

answer

Question


addition loops in matlab
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...

ongeveer 2 jaar ago | 1 answer | 0

1

answer

Question


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

ongeveer 2 jaar ago | 3 answers | 0

3

answers

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

ongeveer 2 jaar ago | 0

Question


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

ongeveer 2 jaar ago | 3 answers | 0

3

answers

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

ongeveer 2 jaar ago | 0

Question


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

ongeveer 2 jaar ago | 3 answers | 0

3

answers

Question


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

ongeveer 2 jaar ago | 2 answers | 0

2

answers

Question


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

ongeveer 2 jaar ago | 1 answer | 0

1

answer

Question


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

ongeveer 2 jaar ago | 1 answer | 0

1

answer

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

ongeveer 2 jaar ago | 0

Question


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'

ongeveer 2 jaar ago | 1 answer | 0

1

answer

Question


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

ongeveer 2 jaar ago | 0 answers | 0

0

answers

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

ongeveer 2 jaar ago | 0

Question


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

ongeveer 2 jaar ago | 1 answer | 0

1

answer

Question


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

ongeveer 2 jaar ago | 2 answers | 0

2

answers

Question


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

ongeveer 2 jaar ago | 1 answer | 0

1

answer

Question


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

ongeveer 2 jaar ago | 0 answers | 0

0

answers

Question


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

ongeveer 2 jaar ago | 1 answer | 0

1

answer

Question


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

ongeveer 2 jaar ago | 1 answer | 0

1

answer

Question


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

ongeveer 2 jaar ago | 1 answer | 0

1

answer

Question


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

ongeveer 2 jaar ago | 1 answer | 0

1

answer

Question


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

ongeveer 2 jaar ago | 1 answer | 0

1

answer

Question


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

ongeveer 2 jaar ago | 1 answer | 0

1

answer

Question


loading text file in vector columns
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='...

ongeveer 2 jaar ago | 1 answer | 0

1

answer

Question


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.

ongeveer 2 jaar ago | 0 answers | 0

0

answers

Load more