photo

theblueeyeswhitedragon


Last seen: 3 years ago Active since 2017

Followers: 0   Following: 0

Statistics

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

View badges

Feeds

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

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

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

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

6 years ago | 1 answer | 0

1

answer

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

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

6 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 | 1 answer | 0

1

answer

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

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

7 years ago | 1 answer | 0

1

answer