Community Profile


Chirag Nighut


5 total contributions since 2019

Chirag Nighut's Badges

  • Solver
  • Knowledgeable Level 1
  • First Answer

View details...

Contributions in
View by

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 months ago | 0


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 months ago

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

4 months ago | 0

| accepted

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

4 months ago | 2

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

4 months ago | 0