回答済み
Colorbar label beneath colorbar
C = colorbar('location','SouthOutside'); set(get(C,'XLabel'),'String','Colour Bar Label Text')

11年弱 前 | 1

| 採用済み

回答済み
Output arguments in functions
In the CHECKHORIZONTAL function: if avg < lowlimit c = -1*x1; end if avg > highlimit c = 1*x1; end ...

11年弱 前 | 0

回答済み
Without using the roots command, write a function to calculate roots of the quadratic equation
I'd recommend <http://mathworld.wolfram.com/QuadraticFormula.html maths>.

11年弱 前 | 0

回答済み
Can REGEXP be utilized to ignore specific numerical values in a text file?
TEXTSCAN is useful for extracting numeric data from strings. Note that the format string I used effectively reads two lines at o...

11年弱 前 | 0

| 採用済み

回答済み
Parsing or regexp HTML output from urlread
str = 'version="1.0" ? eSearchResult PUBLIC "-//NLM//DTD eSearchResult, 11 May 2002//EN" "http://www.ncbi.nlm.nih.gov/entrez/q...

11年弱 前 | 1

| 採用済み

回答済み
Use of dialogue boxes: interactively choosing directory and file to read at the beginning, and "save as" at the end, during the execution of script.
see the UIGETFILE and UIPUTFILE functions. doc uigetfile doc uiputfile

11年弱 前 | 0

| 採用済み

回答済み
Error in matlab Improper assignment with rectangular assignment with rectangular matrix
The number of elements you'll find each time will be different, so you can't put them into a standard array. Try using a cell a...

11年弱 前 | 0

回答済み
Manipulate Excel from Matlab
The -1 field allows you to use Excel interactively. [num txt raw] = xlsread(fileName,-1);

11年弱 前 | 0

| 採用済み

回答済み
Help needed with finding corresponding index values for given table value
As Iain said, you've got more unknows than equations. I've come up with a possible solution, but I don't know how robust it is. ...

11年弱 前 | 0

| 採用済み

回答済み
1, 4, 7, 2, 5, 8, 3, 6, 9 serie
a = reshape(1:9,3,3)'; a = a(:)'

11年弱 前 | 1

| 採用済み

回答済み
How to find the nine biggest numbers?
A = rand(9); m = sort(A(:),'descend'); m(1:9)

11年弱 前 | 0

| 採用済み

回答済み
Help with fzero equation solver
There is a way to do this without a loop: You have one unknown (C) and one equation (fun), and you are looking for C + f...

11年弱 前 | 0

回答済み
Help with fzero equation solver
There are a couple of things here: fzero only works with scalars, so you can't use it on all A and B values. Secondly, you ne...

11年弱 前 | 0

回答済み
??? In an assignment A(I) = B, the number of elements in B and I must be the same
Try using a cell array to store the file names: file = cell(1,l); for i = 1:l file{i} = fullfile(d,files(i).name)...

11年弱 前 | 0

| 採用済み

回答済み
There is any way to know the dimensions of an excel file (rows, columns) without using xlsread?
You can, but you have to open an Actx server - I wouldn't bother unless you really think it's worth it... Excel = actxserve...

11年弱 前 | 2

回答済み
Collapsing integer data into consecutive integers?
[~,~,I] = unique([ 0 1 4 4 1 5 8 1 4]); disp(I-1)

11年弱 前 | 2

| 採用済み

回答済み
estimate memory size in matlab
Use the MEMORY function.

11年弱 前 | 0

回答済み
bar3 Axis labels don't reflect real data
Try scaling the tick marks based on the limits you've defined: format shortg xAxis = sort(10*rand(20,1)); sprintf('XM...

11年弱 前 | 1

回答済み
How can i calculate the difference between two points at various positions on a plot?
You can use the UNIQUE function to find when the torque values change, (assuming they only stay the same or increase from one po...

11年弱 前 | 0

回答済み
Create a structure name based on the string of a variable. Create fieldnames in this structure.
You can make a function to process the names into a structure: function out = Var_Names(varargin) for n = 1:nargin ...

11年弱 前 | 4

回答済み
excel sheet with 5rows & 10 columns
The example shows how to put data into the cells: %Select the appropriate range ran = h.Activesheet.get('Range',range); ...

11年弱 前 | 0

回答済み
excel sheet with 5rows & 10 columns
You'll need to set up an Excel server; see <http://www.mathworks.co.uk/support/solutions/en/data/1-QLD4K/index.html?solution=1-...

11年弱 前 | 0

回答済み
Wanted features for UITABLE and UITREE
Having a button up/ button down callback, or some way of determining whether the user is selecting single or multiple cells woul...

約11年 前 | 2

回答済み
how to move a static text box?
Check your units, it's probably gone off the figure get(handles.text1,'Units')

11年以上 前 | 0

| 採用済み

回答済み
ActiveX -- Saving Excel File
Does this give any errors or warnings? FileName='Test.xlsx'; %open Excel e = actxserver('Excel.Application'); ...

11年以上 前 | 0

回答済み
calculate tangent of 1e100
Given that eps(1e100) = 1.9427e+84 it won't be that accurate. For what it's worth, sin(1e100)/cos(1e100) gives the ...

11年以上 前 | 0

| 採用済み

回答済み
creating dummies from a cell vector of string variables
B=str2num(cellfun(@(x) x(end),A))

11年以上 前 | 0

回答済み
Process Cells from Excel File
I think this is what you're after, but I'm not totally sure. A=[0 45 87 0 7 8 1 65 68 0 ...

11年以上 前 | 0

回答済み
Finding the number of values bigger than a certain number in an array?
x=50*rand(7); a= x > 21; numel(a(a>0))

11年以上 前 | 0

| 採用済み

回答済み
Can a popup-menu on GUI get an excel file sheet name to use as string?
[~,Sheets]=xlsfinfo(FileName) set(PopUpHandle,'String',Sheets)

11年以上 前 | 0

| 採用済み

さらに読み込む