Feeds
답변 있음
Simulation time in Simulink goes up because of minor changes
Might be a zero-crossing detection issue. In general, when zero crossings occur, Simulink does a solver reset, which can negate...
Simulation time in Simulink goes up because of minor changes
Might be a zero-crossing detection issue. In general, when zero crossings occur, Simulink does a solver reset, which can negate...
대략 9년 전 | 0
| 수락됨
답변 있음
Clearing functions selectively, excluding ones with persistent vars
Another approach is to use the |mlock| function inside of the functions that you want to protect from being cleared. You can th...
Clearing functions selectively, excluding ones with persistent vars
Another approach is to use the |mlock| function inside of the functions that you want to protect from being cleared. You can th...
대략 10년 전 | 1
답변 있음
Simulink Dynamic Popup Parameter Values Set at Mask Initialization
Here are my results (in R2014a) on a block with parameter 2 being the popup of interest, using a number of approaches: % Co...
Simulink Dynamic Popup Parameter Values Set at Mask Initialization
Here are my results (in R2014a) on a block with parameter 2 being the popup of interest, using a number of approaches: % Co...
대략 10년 전 | 3
답변 있음
Piecewise functions using @ operator
In addition to following Walter's advice about logical indexing, you'll want to learn about the differences between scripts, fun...
Piecewise functions using @ operator
In addition to following Walter's advice about logical indexing, you'll want to learn about the differences between scripts, fun...
거의 11년 전 | 0
답변 있음
How to convert an image from rgb to l*a*b color space without using any function???
Here is a good reference for color space conversions: <http://www.brucelindbloom.com/index.html?Equations.html> Once you u...
How to convert an image from rgb to l*a*b color space without using any function???
Here is a good reference for color space conversions: <http://www.brucelindbloom.com/index.html?Equations.html> Once you u...
대략 11년 전 | 1
답변 있음
prevent creating workspace variables
Try this: h = find_system(bdroot,'BlockType','Scope'); for k = 1:length(h) set_param(h{k},'SaveToWorkspace','off'...
prevent creating workspace variables
Try this: h = find_system(bdroot,'BlockType','Scope'); for k = 1:length(h) set_param(h{k},'SaveToWorkspace','off'...
대략 11년 전 | 0
답변 있음
Is it possible to use a section of a colormap?
The |caxis| function lets you adjust the axes' color limits ( |CLim| property), which determine the range of data values that ar...
Is it possible to use a section of a colormap?
The |caxis| function lets you adjust the axes' color limits ( |CLim| property), which determine the range of data values that ar...
대략 11년 전 | 0
답변 있음
Making a Graphics Object
You have several options: 1) Depending on how complex the shape is, you could draw it as a single |patch| object and modify t...
Making a Graphics Object
You have several options: 1) Depending on how complex the shape is, you could draw it as a single |patch| object and modify t...
대략 11년 전 | 1
| 수락됨
답변 있음
YTickLabels at specified RGB values in colorbar
Here is an example: hSurf = surf(peaks); hCbar = colorbar; set(hCbar,'YTick',[-5 0.3 6],'YTickLabel',{'Blue','Green','Re...
YTickLabels at specified RGB values in colorbar
Here is an example: hSurf = surf(peaks); hCbar = colorbar; set(hCbar,'YTick',[-5 0.3 6],'YTickLabel',{'Blue','Green','Re...
대략 11년 전 | 1
답변 있음
Shadowing built-in functions
I have recently started to use packages, although their utility is significantly reduced by the fact that packages do not import...
Shadowing built-in functions
I have recently started to use packages, although their utility is significantly reduced by the fact that packages do not import...
대략 11년 전 | 3
답변 있음
Comment out Simulink block using a command line function?
Try the following: set_param(path_to_your_block,'Commented','on')
Comment out Simulink block using a command line function?
Try the following: set_param(path_to_your_block,'Commented','on')
11년 초과 전 | 3
| 수락됨
답변 있음
Is there a way to plot (4D) such that x, y, and z are in the linear scale but the fourth dimension is logarithmic?
Deven, As far as I know, the color axis cannot be directly set to log-scale, unlike the three coordinate axes. However, you ...
Is there a way to plot (4D) such that x, y, and z are in the linear scale but the fourth dimension is logarithmic?
Deven, As far as I know, the color axis cannot be directly set to log-scale, unlike the three coordinate axes. However, you ...
11년 초과 전 | 0
| 수락됨
답변 있음
Determine Pixel Length of Text String
Michael, Especially with a proportional font, it would be very difficult to determine the pixel size for an arbitrary string ...
Determine Pixel Length of Text String
Michael, Especially with a proportional font, it would be very difficult to determine the pixel size for an arbitrary string ...
11년 초과 전 | 1
| 수락됨
답변 있음
Function for setting tick markers on a variable length x axis.
Hi Chris, I'm not exactly sure what you're looking for, but you might want to try my File Exchange program, xtickinterval, wh...
Function for setting tick markers on a variable length x axis.
Hi Chris, I'm not exactly sure what you're looking for, but you might want to try my File Exchange program, xtickinterval, wh...
11년 초과 전 | 0
답변 있음
How to make only x-axis invisible (y-axis stays visible)?
This solution might be overkill, but you can get that effect with my File Exchange program 'oaxes', available here: <http://www....
How to make only x-axis invisible (y-axis stays visible)?
This solution might be overkill, but you can get that effect with my File Exchange program 'oaxes', available here: <http://www....
11년 초과 전 | 0
답변 있음
How to move library subsystems between user libraries in R2012b ?
One way is to do the following: 1) Copy the subsystem and paste into the new library - it will paste as a link as you have st...
How to move library subsystems between user libraries in R2012b ?
One way is to do the following: 1) Copy the subsystem and paste into the new library - it will paste as a link as you have st...
11년 초과 전 | 0
| 수락됨
제출됨
oaxes - central axis lines through an origin
Draw central axis lines through an origin point.
12년 초과 전 | 다운로드 수: 3 |
제출됨
logzplot
Easily create surface plots with logarithmic z-axis and color scale.
12년 초과 전 | 다운로드 수: 1 |
답변 있음
How to render an accurate image of a 3D model
A few thoughts: 1) I concur with Walter's point about getting the actual figure position. You should also be familiar with a...
How to render an accurate image of a 3D model
A few thoughts: 1) I concur with Walter's point about getting the actual figure position. You should also be familiar with a...
대략 13년 전 | 1
답변 있음
Multiple Axis Scales
For the legend, use one of the File Exchange 'Enhanced Legends': <http://www.mathworks.com/matlabcentral/fileexchange/31092-l...
Multiple Axis Scales
For the legend, use one of the File Exchange 'Enhanced Legends': <http://www.mathworks.com/matlabcentral/fileexchange/31092-l...
13년 초과 전 | 0
| 수락됨
답변 있음
data from JPEG
The File Exchange program GRABIT is a good way to extract data points from an image of a graph. Download it here: <http://www.m...
data from JPEG
The File Exchange program GRABIT is a good way to extract data points from an image of a graph. Download it here: <http://www.m...
13년 초과 전 | 1
답변 있음
Get next plot color
The next color to be used by a call to |plot| is stored as an index into the list of colors in the axes' |ColorOrder| property. ...
Get next plot color
The next color to be used by a call to |plot| is stored as an index into the list of colors in the axes' |ColorOrder| property. ...
13년 초과 전 | 2
제출됨
calcticks
Calculate ticks and ticklabels for specified limits, orientation and text size.
13년 초과 전 | 다운로드 수: 3 |
제출됨
xtickinterval, ytickinterval
XTICKINTERVAL forces tick spacing to a specified interval regardless of axis limits.
13년 초과 전 | 다운로드 수: 2 |