Community Profile

photo

theblueeyeswhitedragon


Last seen: 2 years ago Active since 2017

Statistics

All
  • First Review
  • First Submission
  • Thankful Level 3
  • Solver

View badges

Content Feed

View by

Question


How to plot step response of second order system?
omgNot = 1; zetaNot = 0.6; H = tf(omgNot^2,[1, 2*zetaNot*omgNot, omgNot^2]); stepplot(H) I am using the code above to plot t...

5 years ago | 4 answers | 0

4

answers

Question


How to export cell array of strings and doubles in Excel?
I am trying to export a cell array which contains both double and string elements with the xlswrite() function. <</matlabcent...

5 years ago | 0 answers | 0

0

answers

Question


How to convert a 1XM array into NXM array?
I have a 1x12 array, where each element is a vector of doubles (the vectors have different lengths). How can I convert to a NX12...

5 years ago | 1 answer | 0

1

answer

Question


How to set colormap for a 3D surface that is projected onto the XY Plane?
Recently, I asked a question on improving the performance of plotting functions like barh. The solution is very time efficient (...

5 years ago | 1 answer | 0

1

answer

Submitted


CSV with Headers Import/Export
Performs conversions csv to mat, and mat to csv. Works for csv files with and without header information.

5 years ago | 2 downloads |

Thumbnail

Question


Why do plotting functions like bar or barh take a long time to execute?
I have a 1x600 vector of doubles, where each element represent the duration of a certain engineering process. I want to get a ho...

5 years ago | 1 answer | 1

1

answer

Question


How to multiply a 3x3 kernel to a gray scale image (uint8) ?
Gx = [-1 0 1;-2 0 2;-1 0 1]; Gy = [-1 -2 -1; 0 0 0; 1 2 1]; img = imread('Bikesgray.jpg'); [rws, cls] = size(img); mag ...

5 years ago | 1 answer | 0

1

answer

Question


How to update titles and text annotations of subplots located on the same uitab?
% TAB 1 S.tabH(1) = uitab(S.histoTab, 'Title', 'Error X'); S.P1_histo{1} = subplot(2,2,[1 3], 'Parent', S.tabH(1)); ...

6 years ago | 0 answers | 0

0

answers

Question


How to compare exponential numbers with 7-9 digits of accuracy
I am creating a GUI that allows the user to delete data points from a graph by clicking on them. The method has been working for...

6 years ago | 1 answer | 0

1

answer

Question


Should I declare GUI components in a struct or as separate variables?
function script6() fig = figure('units', 'pix', 'position', [350, 200, 400, 170], 'menubar' , 'none'); popmenuh = uicontro...

6 years ago | 1 answer | 0

1

answer

Question


How to use keypressfcn to allow the user only to copy from an edittext?
function [] = GUI_15() S.fh = figure('units','pixels',... 'position',[300 300 400 120],... 'men...

6 years ago | 0 answers | 0

0

answers

Question


How to use get and set to remove the last value of a string in a text uicontrol?
function script4() fig = figure('units', 'pix', 'position', [300, 300, 300, 300], 'menubar','none','resize', 'off'); pushbutt...

6 years ago | 1 answer | 0

1

answer

Question


How to use set to change a property of a uicontrol?
function [] = script2() fig = figure('units','pixels','position',[300 300 500 400], 'menubar','none','name','GUI_3','numbertit...

6 years ago | 1 answer | 0

1

answer

Question


How to access a third generation node data in a .xml file?
I would appreciate if you gave me an explanation or pseudo code for accomplishing this, because the code available in other disc...

6 years ago | 0 answers | 0

0

answers

Question


I want to store each column in struct field, but don't know the data type. How can I accomplish this for any number of columns, without having to use '%s%d%d'?
filename= 'dataFil.txt'; fid = fopen( filename, 'r' ) ; data = textscan(fid, '%s%d%d', 'delimiter', ',') fclose(fid)...

6 years ago | 1 answer | 0

1

answer

Submitted


Piano (Whistle, Flo Rida)
Plays a piano version of the song Whistle by Flo Rida

6 years ago | 0 downloads |

Submitted


Validate ID
String Operations

6 years ago | 0 downloads |

Submitted


Reflection about a line
Reflection about y = x line

6 years ago | 3 downloads |

Thumbnail

Submitted


Antinodal Curves Animation
Animation of Antinodal Curves

6 years ago | 1 download |

Thumbnail

Submitted


Transformation of a Set of Vectors (Limited Domain)
Transformation of a Set of Vectors

6 years ago | 0 downloads |

Thumbnail

Submitted


Taylor series approximation for sin(x)
Approximates the value of function sin(x) by using Taylor Series expansion

6 years ago | 3 downloads |

Submitted


Patterns using loops
Generates patterns using for loops

6 years ago | 1 download |

Thumbnail

Solved


Add two numbers
Given a and b, return the sum a+b in c.

6 years ago

Solved


Find the sum of all the numbers of the input vector
Find the sum of all the numbers of the input vector x. Examples: Input x = [1 2 3 5] Output y is 11 Input x ...

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

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

6 years ago

Question


How to edit properties of a plot and highlight certain points in the graph at the same time?
This is the code I wrote for graphing the Phase Plot of the differential equation dy/dt = y(y-2)(y-2)(y-4)(y-6), but I am get...

6 years ago | 1 answer | 0

1

answer

Submitted


Monte Carlo Simulation
-

7 years ago | 4 downloads |

Submitted


Storm Data Analysis
-

7 years ago | 0 downloads |