Aim I having a senior moment or what...???612 (4/24/2013 12:25:08 AM) comp.soft-sys.matlab DEAL() duplicates all terms in the RHS, is there a shorthand for
A=x(1);
B=x(2);
[A B]=???(x);
Am I just drawing a blank or is there only the explicit assignment
statements? Seems trivial and after... dpb
Way to write expression????210 (3/19/2013 2:36:00 PM) comp.soft-sys.matlab Just had occasion responding to another posting where to check a
matching set of values had to nest calls to all() if were to get down to
a single value. Made me wonder if is any other syntax I'm overlooki... dpb
load files from subdirectories #2214 (3/5/2013 3:25:16 PM) comp.soft-sys.matlab I am trying to open file BG.mat, which is present in most of the
subfolders. And i want to load contents of this file in workspace. I
tried using the following code, its second last line is giving me
prob... dpb
if, loop or while223 (1/20/2013 6:50:09 PM) comp.soft-sys.matlab Hi I really need help I'm so confused I will appreciate if you'd help me. I want to write multiple conditions in resulted by multiple conditions. For examble for three random numbers between 1 and 10
if three ... shaparak
about float value #2011 (1/11/2013 5:55:11 AM) comp.soft-sys.matlab Hi, I have a problem which is bothering me all the time.
I have a float value, say AAA, which is equal to 0.004
now in a very simple judgement function:
if AAA == 0.004
....
it will never enter int... dpb
for loop starting woth 0 #2044 (11/22/2012 2:18:16 AM) comp.soft-sys.matlab > if i write acode for i = 3:10
> N = i*10;
> end
> it is looping starting from 0, I am new user can you please help me with it.
No, don't think that is so...you must have written something different
... dpb
how to extract parts of file names #2029 (10/23/2012 1:51:11 PM) comp.soft-sys.matlab I have a list of file names and I would like to extract only a part of
these names.
The general structure of names is : 16-47-SS.MS.jpg where M, and S are
digits.
I try to get only the SS.MS part.
....
... dpb
Matlab doesn't start in the current folder? #2051 (10/4/2012 1:35:02 AM) comp.soft-sys.matlab I start Matlab from .bat file:
path="C:\Program Files\MATLAB\R2012b\bin";%path%
matlab.exe /nosplash /r "FAESOR_init(struct('useCXSparse',1))"
However, Matlab cannot find this file as it appears to have ... dpb
Feedback on New 'Documentation Center' ...2143 (10/3/2012 8:10:39 PM) comp.soft-sys.matlab In one succinct phrase, my evaluation is "It sucks"... :(
I don't know what sort of process TMW went through in choosing the
format and content but as a usable and pedagogical tool I can't think it
follo... dpb
none1568's replies:
Items(10) /1
very simple question please help ( average time )10 (5/23/2013 6:25:09 PM) comp.soft-sys.matlab Hi,
I have a time series in seconds ( correspond to a random measurement). I would like to see on average what is the time between each measurement. It is seconds. So I am hoping that it would be between 2 ... fmri2013(3)
gname problem71 (5/18/2013 1:22:10 PM) comp.soft-sys.matlab Hi,
Can anyone explain how to add case names to plot:
h1 = plot(1:10, sin(1:10), 'o-');
hold on;
h2 = gscatter(10*rand(1, 10), 2*rand(1,10), 1:10);
hold off;
gname(1:10, h1);
Thanks,
Stan
... Stan24
How to speed up strjoin on an N*M cell array?91 (5/22/2013 7:39:03 PM) comp.soft-sys.matlab
I have a cell array A of size N * M, containing only strings.
I want to efficiently generate the N * 1 matrix B such that B(K)
equals strjoin(A(K, :), SEP), for some separator string SEP.
I can alway... no.email5(299)
how use from legend in a for loop?10 (5/24/2013 7:47:08 AM) comp.soft-sys.matlab Hi.
I want to use from legend in a for loop.
for example,my code is as following:
for f=[50e6 100e6 500e6 1e7]
.... % a section from my code
plot(x,y) % y is updated in each for loop
hold all
end
I... shaban_sadeghi(75)
Increasing calculation precision10 (5/23/2013 8:56:08 AM) comp.soft-sys.matlab Hi,
I have a simple question.
When I want to make a simple calculation consisting too big numbers and correspondingly small numbers, I can't get the precise result. For example:
"7e9 - 2e3"
yields 7... mahmutesat(1)
How to delete the first 50 rows of individual files40 (5/23/2013 4:05:11 AM) comp.soft-sys.matlab Hi there,
I need to delete the first 50 rows and the last 200 rows from individual text files. I have over 400 individual tab-delimited files, all are matrix of 600 by 65.
Any help will be greatly appre... yyu2(2)
geometric mean month by month10 (5/23/2013 5:56:11 PM) comp.soft-sys.matlab Dear All,
I need some help please.
I have two columns in a matrix B.
B=[A, X];
X is a column vector that contains different daily observations.
A is a column vector that contains the number of the month ... saad.badaoui(18)