Community Profile

photo

Chirag Nighut

MathWorks

Last seen: 3 years ago Active since 2019

All contributions in answers are personal views

Statistics

All
  • Solver
  • Knowledgeable Level 1
  • First Answer

View badges

Content Feed

View by

Answered
need help to plot x,y data points with 'o' without line and y_hat smooth graph
You can use the plot function and use an option for styling the line plot to show the line as -o plot(x,y_hat,'-o') Above lin...

3 years ago | 0

Answered
Write/Read CSV file
To create a matrix with text you can create a 2D array of chars. To do that you can use the following code: data = ['MATLAB '...

4 years ago | 0

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

5 years ago

Answered
print a matrix in a specific sequence
You can use the repmat function here If you have to print the patter N (here 10) times, use the following code: A = [5 4 3 2 1...

5 years ago | 0

| accepted

Answered
how to swap two bits in matlab.? which cammond is used for this..?
Remember that Matlab has 1 based indexing and therfore when you wish to swap the 0th and 3rd bit in above number, it is actually...

5 years ago | 2

Answered
How to perform FFT analysis for a sinusoidal wave.
Considering that X is the array of the flame heights at different time values and L is the number of samples of the data, Fx = ...

5 years ago | 0