Community Profile

photo

Muhammad Usama Sharaf SAAFI


Last seen: 1 year ago Active since 2020

Statistics

All
  • Knowledgeable Level 2
  • Solver
  • First Answer

View badges

Content Feed

View by

Solved


Reverse the vector
Reverse the vector elements. Example: Input x = [1,2,3,4,5,6,7,8,9] Output y = [9,8,7,6,5,4,3,2,1]

4 years ago

Solved


Sum all integers from 1 to 2^n
Given the number x, y must be the summation of all integers from 1 to 2^x. For instance if x=2 then y must be 1+2+3+4=10.

4 years ago

Solved


Make the vector [1 2 3 4 5 6 7 8 9 10]
In MATLAB, you create a vector by enclosing the elements in square brackets like so: x = [1 2 3 4] Commas are optional, s...

4 years ago

Solved


Times 2 - START HERE
Try out this test problem first. Given the variable x as your input, multiply it by two and put the result in y. Examples:...

4 years ago

Answered
Is there a danger in renaming a Matlab install folder
You should rename this folder (recomended). It may cause some issues when you will use default example given my MATLAB . However...

4 years ago | 0

Answered
Not able to use previous element in matrix inside for loop
Declare R_p in above code. You are not showng complete code here.

4 years ago | 0

Answered
How to change the colour or text or delete some text of the default graph in findpeaks function?
use title(''); command to change text after findpeak() function, use whitebg('blue'); to change color.

4 years ago | 0

Answered
Unrecognized function or variable
https://www.mathworks.com/help/matlab/ref/regexp.html This link will help you. "options" should be a string veriable i your ...

4 years ago | 0

| accepted

Answered
How to deploy machine learning model?
You can save your Trained model from workspace by right click and choose save. Using load('trainedModel.mat'); you can load...

4 years ago | 0

Answered
How I use bounding box for multiple objects?
Try to use "Image Labler app". It will solve your issue. you can choose your multiple ROI from an image and my exporting it will...

4 years ago | 0

Answered
How to predict future data after training svm ?
[imagepred, probabilities] = predict(trainedModel.ClassificationSVM,imagefeatures3); use this command for prediction.

4 years ago | 1

| accepted

Answered
Rectify the error in imread
Your image file must me in MATLAB serach path. You should keep your image file in current folder. If you are confused you should...

4 years ago | 1

Answered
Can I stop MATLAB when it's being busy?
You should press ctrl+c in such scenarios. MATLAB will stop all excecution.

4 years ago | 0

Answered
Error using for loop
In first iteration , value of i and k is 1 so A(i-k) means A(0) and in matlab "0" can not be index of any array so this cause er...

4 years ago | 0

Answered
how to fulfill GAN (Generative Adversarial Networks ) or DCGAN in matlab?
Only MATLAB 2019b has demo example of GAN.Example code also works on GPU but you should have CUDA 10.1 driver installed in your ...

4 years ago | 0

| accepted