Community Profile

# Kian Azami

43 total contributions since 2017

View details...

Contributions in
View by

Question

Is it possible to find out the x and y coordinates of the line plot in a JPEG photo?
I have a diagram in jpeg and I want to find the x and y coordinates of the plot in the image. I have attached the image to the q...

3 years ago | 1 answer | 0

### 1

Question

How to make a user interface for my regression model?
Hi everybody. I have a statistical model which is able to predict the responses if we put the correct input inside it. I jus...

3 years ago | 1 answer | 0

### 1

Write a MATLAB program to determine the response of the following system
I think you can use the following code: a = 0.5; for n=1:200 x(n) = 3*sin(2*pi*0.2*n); if n == 1 y(n) =...

3 years ago | 1

Solved

Energy of a photon
*&#9883 &#9762 &#9883 &#9762 &#9883 &#9762 &#9883* Given the frequency F of a photon in giga hertz. Find energy E of this...

3 years ago

Solved

How to subtract?
* Imagine you need to subtract one number from another using MATLAB. * You will not be using eval for this task. * Given two A...

3 years ago

noise removal from the part of the medical image where noise is actually present, not the whole image
You can do something as follow which I learned from one of the <https://it.mathworks.com/matlabcentral/profile/authors/8859523-a...

3 years ago | 0

Question

What are Estimated coefficients parameters (Estimate, SE, tStat, pValue) when we do the linear regression model by the command fitlm?
Hello, If you try the matlab example about linear regression by the following code: load carsmall tbl = table(Weight,Ac...

3 years ago | 1 answer | 1

### 1

How to draw a contour plot over a bi-variate Gaussian in such a way that the lines represent the probability of a sample being within that line?
By defining the annotations in your code and defining the position of the annotation as the position of your contour, you can sh...

3 years ago | 0

Solved

Determine whether a vector is monotonically increasing
Return true if the elements of the input vector increase monotonically (i.e. each element is larger than the previous). Return f...

3 years ago

Solved

Swap the first and last columns
Flip the outermost columns of matrix A, so that the first column becomes the last and the last column becomes the first. All oth...

3 years ago

Solved

Make a checkerboard matrix
Given an integer n, make an n-by-n matrix made up of alternating ones and zeros as shown below. The a(1,1) should be 1. Examp...

3 years ago

Solved

Find all elements less than 0 or greater than 10 and replace them with NaN
Given an input vector x, find all elements of x less than 0 or greater than 10 and replace them with NaN. Example: Input ...

3 years ago

Solved

Triangle Numbers
Triangle numbers are the sums of successive integers. So 6 is a triangle number because 6 = 1 + 2 + 3 which can be displa...

3 years ago

Question

How to choose the boundaries of the gray zone in the image?
I have an image and I would like to write a program in order to separate the gray part of the image which is a footprint of a ti...

3 years ago | 1 answer | 0

### 1

Add markers at min max points in a triangular plot
You can change your code a little bit to have the results you want: clc close all clear all ts=0.1; t=-5:ts:5; y=repma...

3 years ago | 1

manually subsetting data for training and testing purposes
for making training and testing dataset you can use the following commands: % First you make crossvalidation partitioning o...

3 years ago | 1

I have extracted 'time' from excel sheet but got in different format.
Maybe you can change them to dates and separate the time as follow: data = xlsread('winddata','C10:C2980'); % for the month...

3 years ago | 1

is it possible to display the graph of ATAND in just one quadrant?
You mean something like this: close all clc; xi=0.3; x=0:0.05:4; d=1.-x.^2; e=2*xi*x.^1; fi=atand(e./d); idx0 = find...

3 years ago | 0

help completeing Alphabetical matrix problem
If your question is understood correctly, by the following code you can create the Alphabetical matrix that you need: clc ...

3 years ago | 0

| accepted

How to use symbolic toolbox to remove a redundant variable from the equation?
maybe if you put your functions here it will be better. However, logically you have two equations and three unknowns and it is n...

3 years ago | 0

| accepted

Textscan and cpu usage
I just heard that the computation process by the cpu is a very nonlinear process and for this reason every time you see a differ...

3 years ago | 0

Set custom x and y axis
Maybe you just need to use: xlim([xmin xmax]) ylim([ymin ymax])

3 years ago | 0

Creating a matrix with variables
I think you can easily do this by saving your A variable to a new variable like B and a small change in your for loop: n =...

3 years ago | 0

| accepted

How to edit properties of a plot and highlight certain points in the graph at the same time?
Mario you are using a wrong command for highlighting your points. Just you need a very small change to highlight the points as f...

3 years ago | 0

| accepted

how to find Y value in a parametric plot without cursor
To define the X matrix you need to put the "." before the "/" as below: X= (3*t)+ (1./sin(t)); The Y is the function of ...

3 years ago | 0

Making the best fit for this data
If you use the application of Curve Fitting Tool in the app section, you can easily find the best fitting model for your data. F...

3 years ago | 0

Question

How to search the files inside a zip file?
I have a zip file which contains another 1000 zip files and I need to search among these zip files and separate 200 of them and ...

3 years ago | 1 answer | 0

### 1

How to match and take the part of the string between two specified characters
You can use the following code to extract the lines relevant to 'Start Time' and the 'Duration' and then acquire the required d...

3 years ago | 0

Question

Generate plot in the 2nd screen?
Hello, I am using matlab and I have two monitors. One monitor is the command window and the other one is the Editor. My matlab f...

3 years ago | 2 answers | 2