Tariq Hammoudeh
Followers: 0 Following: 0
Statistics
20 Questions
0 Answers
RANK
94,137
of 295,467
REPUTATION
0
CONTRIBUTIONS
20 Questions
0 Answers
ANSWER ACCEPTANCE
70.0%
VOTES RECEIVED
0
RANK
of 20,234
REPUTATION
N/A
AVERAGE RATING
0.00
CONTRIBUTIONS
0 Files
DOWNLOADS
0
ALL TIME DOWNLOADS
0
RANK
of 153,912
CONTRIBUTIONS
0 Problems
0 Solutions
SCORE
0
NUMBER OF BADGES
0
CONTRIBUTIONS
0 Posts
CONTRIBUTIONS
0 Public Channels
AVERAGE RATING
CONTRIBUTIONS
0 Highlights
AVERAGE NO. OF LIKES
Feeds
Question
ESP32 connection on Mac
Is connecting an ESP32 to MATLAB actually possible on Mac, because everytime I try to configure it using the MATLAB support pack...
10 months ago | 1 answer | 0
1
answerQuestion
Can I have multiple tiled layouts
Can I have more than tiled layouts and edit their position on the screen. I need 3 different tiled layouts positioned left midd...
1 year ago | 1 answer | 0
1
answerQuestion
how to create a figure that includes a table
if I have the folloowing table: number=[1;2;3;4;5]; data=[34;39;41;22;19]; subData=[0.5;0.7;0.9;1;1.1]; answer=table(number,...
1 year ago | 1 answer | 0
1
answerQuestion
How can i integrate an array using the trapz function
If i have the following data time=[1 2 3 4 5] %time in seconds acceleration=[1.1 1.2 1.3 1.4 1.5] Then how can I integrate ac...
1 year ago | 1 answer | 0
1
answerQuestion
how to add numbers above the tips of a bar chart
I have an array b=[ 1 2 3] then i use bar(b) now how can i write the value of each bar (so the elements of the array) over e...
3 years ago | 1 answer | 0
1
answerQuestion
How can I make randi() in a loop not choose the same number
I have an array x=zeros(1,36) then i have inside a while loop: while .... y=randi(length(x)); z=randi(length(x)); How c...
3 years ago | 1 answer | 0
1
answerQuestion
detecting elements change in an array
I have an array of zeros: x=zeros(1,36); and in my program i change some elements of it to 1 using for example x(6)=1; N...
3 years ago | 2 answers | 0
2
answersQuestion
Im using randsample() but im getting an error
Im using randsample to make the program choose a random element from an array, A=[2 3 4 5]; random=randsample(A,1) but im ...
3 years ago | 1 answer | 0
1
answerQuestion
How can I loop an if statement
Im designing a game of battleship and I have the following code to prevent ships from overlapping. x=zeros(1,36); starting...
3 years ago | 1 answer | 0
1
answerQuestion
I have a gridded figure with 2 "game boards" , but they don't look the same
I have the following code to plot a figure with 2 game boards, for a battleship game: subplot( 2, 1, 1 ); set( gca, 'XTick...
3 years ago | 1 answer | 0
1
answerQuestion
Im designing a game of battleship, but. im trying to use a code to prevent the user from placing a ship out of bounds
in my game of battleship the board is 6 by 6, so when the user wants to place a (1X2) ship on grid 6 and chooses a horizontal or...
3 years ago | 2 answers | 0
2
answersQuestion
Problem with an if statement
I have this code: orientation= input (' enter v or h') if orientation == v ...... end but whenever i run the code and e...
3 years ago | 1 answer | 0
1
answerQuestion
I have this function but whenever I call it using its name, I get an error
I am building a game of battleship, and i have this function to create a figure for the boards. now when ever i try to ...
3 years ago | 1 answer | 0
1
answerQuestion
how can I plot a game board in a figure
Im programming the game battleship, and i need create a figure 2, 6 by 6 boards (one for the user and one for the computer). I w...
3 years ago | 1 answer | 0
1
answerQuestion
How can I make the program count the number of decimals of an inputted amount
I have this code: withdrawAmount = input ('Enter amount to Withdraw '); . . . . . Is there anyway the program could cou...
3 years ago | 3 answers | 0
3
answersQuestion
how to use a while loop for switch case
I have this code: transactionType= input('1:withdraw 2:deposit 3:account balance 4:end use'); switch transactionType case ...
3 years ago | 2 answers | 0
2
answersQuestion
getting a number from a text file
I have txt file with 1 number inside only, nothing else. is there a way to get that number as a variable so that i can use an i...
3 years ago | 0 answers | 0
0
answersQuestion
how to use ismember() to check if an inputted number exists in a matrix.
I have a csv file named "NaiveBankData.csv" (attached) and i imported it, then read it as a matrix, but now how can i check if a...
3 years ago | 1 answer | 0
1
answerQuestion
I'm using textscan to read in a csv file, but when I check the variable its incorrect
im trying to read in a csv file(attached) using the code below, but then when i click on the variable from the workspace I don...
3 years ago | 2 answers | 0
2
answersQuestion
I have a .csv file with a list of numbers, what code can I use to check if an inputted number exists in that file.
I have a .csv file that contains a list of account numbers. How can i check if an inputted number exists in that file. so for ex...
3 years ago | 1 answer | 0