Community Profile

photo

Harish Ramachandran

Last seen: 10 months ago Active since 2017

Statistics

All
  • Knowledgeable Level 3
  • First Review
  • 3 Month Streak
  • Revival Level 1
  • Solver
  • Knowledgeable Level 2
  • First Answer

View badges

Content Feed

View by

Answered
Live script under Ubuntu 18.04
It appears that you are running MATLAB R2018a on Ubuntu 18.04 which is not compatible according to <https://www.mathworks.com/co...

5 years ago | 0

Answered
movie2avi has been removed
As you mentioned, movie2avi has been deprecated and instead replaced with VideoWriter. Can you verify if getframe CDATA is c...

5 years ago | 1

Answered
How can I import a lzf compressed HDF5 dataset in Matlab?
As of R2015a, MATLAB upgraded to HDF5 1.8.12 and thus now supports reading HDF5 datasets via the new dynamically loaded filter f...

6 years ago | 1

| accepted

Answered
How do I pull the specific data I need from a text file?
You can probably write your own parser and go through each line until you stumble upon the 'x' and 'y' parameters. Collect the d...

6 years ago | 0

Answered
How can I merge and align multiple picture in one picture?
Hi Sungwoo, I would suggest trying out the combination of the following: # Create a montage of the multiple pictures. You ...

6 years ago | 0

Answered
How can I make this matrix function?
This is an example of your use case on a 2-D matrix. The same is scalable for a 3-D matrix. X = rand(5) ...

6 years ago | 0

Answered
Generate a square map by using world map.
The reason you get a conic shape is because of the 'worldmap' syntax below which sets the latitude and longitude limits. w...

6 years ago | 0

Answered
I can't understand what is 'Windows user name'.
* The fastest way to get your Login Name is from a Windows Command Prompt: * Locate the search field, on Windows 10 this is in ...

6 years ago | 2

Answered
Looking for empty spaces in input array from excel
You can use the *find* command: c = {[5 5 5],1,1,1,1,1,1} indx = find([c{:}] == 1) c = 1×7 cell array ...

6 years ago | 1

| accepted

Answered
How to fill only half of the rectangle with any color?
Something which I would try is to fill the entire rectangle A. Modify the rectangle A's position properties to be halved (de...

6 years ago | 1

| accepted

Answered
How do I go about setting up and simulating a 5G network in MATLAB?
I would suggest starting with the documentation page provided by MathWorks on 5G technology. Link: <https://www.mathworks.co...

6 years ago | 0

Answered
how to convert text values between char arrays
Create two vectors containing the correlation between the original word and the substitution word. Then use a element-wise f...

6 years ago | 0

Answered
How can I extract single value out of a matrix using vectors?
A trivial implementation involves something along the lines of: A = magic(4); v = [2;3]; A = 16 2 ...

6 years ago | 0

Answered
I can't connect the mini drone parrot to my Mac
I believe that similar issues have been faced. A solution that has worked in the past is to reinstall the Parrot Minidrone Har...

6 years ago | 0

Answered
convert matlab notebook to m files
I do not believe you can convert a MATLAB notebook file to a .m file in an automatic manner like a MUPAD notebook. You can do th...

6 years ago | 0

Answered
New instance of matlab opening every time I double click a matlab file
Hi Luca. Did you try the second part of the solution provided in the <https://www.mathworks.com/matlabcentral/answers/93468-why-...

6 years ago | 1

| accepted

Answered
How to save output in different column for each loop
I am not sure what _x(y_data)_ is. However, I will try to give you a trivial example which you can probably use to scale for...

6 years ago | 1

Answered
how to plot two different data in one figure
As Jan Simon pointed out, I kindly suggest you to provide more information regarding the input to the plot, your use case and su...

6 years ago | 0

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

6 years ago

Answered
VideoReader don't read .m4v
Both Windows Media player and videoReader support the m4v format. Since VLC is able to play but Windows Media Player is not, it ...

6 years ago | 1

Answered
How can I save the video file from matlab videoPlayer
In the piece of code you attached above, you are using a VideoReader in order to get the individual frames and implement the car...

6 years ago | 0

Answered
Running command prompt via MATLAB Linux
As Jan suggested, I would suggest you to use the <https://www.mathworks.com/help/matlab/ref/system.html system> command which ex...

6 years ago | 0

Answered
For Loop not outputting what i want
1. Let us just take the case of x1 vector. Once the *'for'* loop is done, the resultant x1 vector is a 1x15 double which means t...

6 years ago | 0

Answered
How do I check if the specific line in a text file is empty or not?
A trivial implementation would be to open the file, check if the numbers exist till the 6th line and display which file is being...

6 years ago | 0

| accepted

Answered
Matlab R2017b Simulink is not opening
This is due to network configuration issue. Make sure that any Anti-Virus or Firewalls installed on the system are not blocki...

6 years ago | 1

| accepted

Solved


Cell joiner
You are given a cell array of strings and a string delimiter. You need to produce one string which is composed of each string fr...

6 years ago

Answered
How to use so file in Matlab?
Hello Sungmin, If I understand correctly, you have a .so file along with C++ code which needs to be run in MATLAB. If that is...

6 years ago | 0

Answered
One scaling colomap for various figures
Hello Michael. 1. With respect to setting limits on the colormap scale, you should check out the documentation on <https://w...

6 years ago | 0

Solved


Summing digits
Given n, find the sum of the digits that make up 2^n. Example: Input n = 7 Output b = 11 since 2^7 = 128, and 1 + ...

6 years ago

Solved


Most nonzero elements in row
Given the matrix a, return the index r of the row with the most nonzero elements. Assume there will always be exactly one row th...

6 years ago

Load more