Answered
Can I change axes of existing figure from linear to loglog in Matlab without redrawing all the data?
set(gca,'XScale','log','YScale','log')

11 years ago | 6

| accepted

Answered
saving .fig files doesn't save position properties?
Hi Karen, That certainly looks obscure to me. Contact tech-support and let them know about it.

11 years ago | 0

Answered
is this a bug because it definitely looks like
Nope, not a bug! <http://www.mathworks.com/matlabcentral/answers/57444-faq-why-is-0-3-0-2-0-1-not-equal-to-zero>

11 years ago | 1

| accepted

Answered
Edit Matlab Package Contents
Run MATLAB as an Administrator (right click run as admin on Windows).

11 years ago | 0

| accepted

Answered
What is the fastest way to determine whether a string is a number?
Probably: isnan(str2double(str)) This won't need try/catch either. Anything with |eval| in it will definitely not be ...

11 years ago | 1

| accepted

Answered
Error reading excel sheet: index out of bounds.
What is _range_? Apparently it's bigger than 30132, the size of yearsh.

11 years ago | 0

| accepted

Answered
Storing classes as appdata and modifying them
Since your class inherits from dynamicprops which inherits from <http://www.mathworks.com/help/releases/R2014a/matlab/ref/handle...

11 years ago | 1

Answered
Does anyone know if it is possible to use the curve fitting tool to measure the radius of curvature of surfaces?
I would use |sphereFit| on the File Exchange to fit the sphere. Here's a blog post with an example: <http://blogs.mathwo...

11 years ago | 0

Answered
Check if a function handle is valid
try fun() catch disp 'didn''t work' end Try it and catch failures. Or provide a listbox with known functions t...

11 years ago | 0

Answered
what is the unit of group parameters result from regionprop ?
Pixels. If you know the width of a pixel then you could scale by that.

11 years ago | 0

| accepted

Answered
How can I keep the rows where the elements of 1st column are in 2nd column
M=[1 2 1 3 1 9 2 1 2 3 3 1 3 2 3 4 3 9]; Mpc = M(ismember(M(:,2),unique(M(:,1))),:)

11 years ago | 0

Answered
How to create a variable number of checkboxes in GUI?
Callback should be ,'callback',@(src,evt)mycb(src,evt,i)); Now on each iteration of the |for|-loop a static snapshot of ...

11 years ago | 0

Answered
How can I make a matrix of 35,486 rows 1 column.
x = reshape(repmat(1:100,[358, 1]),[],1);

12 years ago | 0

| accepted

Answered
function cell2table undefined in my matlab?
Tables were released in R2013b. So, yes, upgrade to R2013b or R2014a.

12 years ago | 0

Answered
Printing a table to a postscript file.
One possibility would be to incorporate a disp(T) Inside of a script and then <http://www.mathworks.com/help/releases/R2...

12 years ago | 0

Answered
Simulink Project - Why does git not appear as a Source control option in Simulink 8.1 (R2013a)?
This was added in R2014a: <http://www.mathworks.com/help/simulink/release-notes.html>

12 years ago | 1

| accepted

Answered
Istallation of matlab R2014a on a win7 (64bit) doesn´t work
Contact MathWorks' Installation support. <http://www.mathworks.com/support/contact_us/>

12 years ago | 0

Answered
Opening and editing text file
If you have R2012b or newer, just use the Import Tool to do the work for you. Right click on the file and select "Import Data"....

12 years ago | 0

Answered
Using a part of a signal simulink
Perhaps a "Selector" block to select just the part you want (like an index).

12 years ago | 0

Answered
How to find all neighbours of an element in N-dimensional matrix
No need to reinvent the wheel: <http://www.mathworks.com/matlabcentral/fileexchange/29330-neighbour-points-in-a-matrix>

12 years ago | 0

Answered
sum across dynamic field names in structure
I see no reason to vectorize this operation. A |for|-loop will surely be the fastest and most elegant approach %% Sample s...

12 years ago | 1

Answered
how to generate a matrix from another matrix
beta = 0.0001./alpha

12 years ago | 0

| accepted

Answered
how get the information of the image instead of using imfinfo?
How are you getting the image? Most of the interactive tools, such as |uigetfile| return the full path as the second output. Y...

12 years ago | 2

| accepted

Answered
Need help regarding internal linking in Publishing help.
The linking is created because it follows a "See Also". This is a specific pattern that when matched will cause a link. <htt...

12 years ago | 0

Answered
How to assign parts of one structure to another efficiently?
% Sample struct x = struct('name',cellstr(('A':'I').')) % sample index (your mu_i) idx = rand(9,1)>0.5 % e...

12 years ago | 1

| accepted

Answered
how to span a 3*1 vector into a 3*3 skew symmetric matrix ?
X=[0 -x(3) x(2) ; x(3) 0 -x(1) ; -x(2) x(1) 0 ];

12 years ago | 8

| accepted

Answered
How do I view the function workspace?
Your answer with the breakpoints is the best one. Another way would be to use the |whos| command inside of the function: w...

12 years ago | 0

| accepted

Answered
is Matlab (R2009b) ignoring the transpose operator in “mldivide”?
I think you're seeing the same bug as described here: <http://www.mathworks.com/matlabcentral/newsreader/view_thread/267273>

12 years ago | 1

| accepted

Answered
Cluster with 8 workers runs only one job at a time
The tasks are not running serially as you expect but are running in parallel and are thus using all of the resources available. ...

12 years ago | 0

| accepted

Answered
How can I repair Icon titles of matlab R2014a?
I would try regenerating the preferences. Attached is a function that will do this for you.

12 years ago | 1

Load more