回答済み
GUI flickers when customly resized
I think your approach looks like what I have done in the past. I tried to do a couple of things which I think might make a slig...

15年以上 前 | 1

| 採用済み

回答済み
GUI Pushbutton, accessing another file
Do you mean that your file is hardcoded into the GUI? If so, put this in the pushbutton callback: edit mfilename where you r...

15年以上 前 | 1

| 採用済み

回答済み
Some Foreign Matlab forums
I have on occasion visited Stack Overflow, but the MATLAB traffic there is pretty slow. It is in English.

15年以上 前 | 3

回答済み
Dumb mistakes we make with MATLAB.
Along the lines of the cyclist's popular mistake, I do this one often enough: x = rand(1:100); % I meant: x = rand(1,100); ...

15年以上 前 | 3

回答済み
GUI flickers when customly resized
No flicker here. What renderer are you using? I am using painters.

15年以上 前 | 0

回答済み
vector to repeated matrix multiplication
On my machine, this outputs: 3.1 2.2 1 function [] = compare_bsx() % Compare BSXFUN, REPMAT and indexing. T = [0 0 0];...

15年以上 前 | 0

回答済み
vector to repeated matrix multiplication
One approach: sum(bsxfun(@times,A,reshape(V,1,1,3)),3)

15年以上 前 | 1

| 採用済み

Discussion


Dumb mistakes we make with MATLAB.
O.k., admit it. Who has done this (or something that resulted in the same loss of info) before? >> laster ??? Undefined f...

15年以上 前 | 9

質問


Dumb mistakes we make with MATLAB.
O.k., admit it. Who has done this (or something that resulted in the same loss of info) before? >> laster ??? Undefined f...

15年以上 前 | 35 件の回答 | 9

35

回答

回答済み
What Timezone Abbreviation does Java use for your location?
Everything looks kosher here: >> java.util.Date() % The date string display -ans.getTimezoneOffset()/60 % the timezo...

15年以上 前 | 0

| 採用済み

回答済み
How do I plot this non-linear function...
One minor change will make it work. T = 180:1:360; k = .8823-((T-179)*(.0039)); s = 1.1e-2; r = s*(T.^4); ...

15年以上 前 | 0

回答済み
matrix issue with null
Since I don't have Mathematica, and many may not, can you show what the output of those commands is? That way we could try to m...

15年以上 前 | 0

回答済み
how to calculate the integral of function y=sqrt(c*exp(d*x)+g/x-1)?
Taking the square root does that sometimes. If you want to check your answer, show us c,d,g,a and b. For some numbers we get a...

15年以上 前 | 0

回答済み
Plotting a year by hour
Also, you realize 1992 was a leap year? Is that the year your data was taken? If it is for a generic year, why not use: D2 ...

15年以上 前 | 0

| 採用済み

回答済み
triangle
Another vote to update your topic and don't forget to DELETE this topic!

15年以上 前 | 0

回答済み
Plotting functions
To elaborate on Walter's answer: t = 0:.001:2*pi; figure plot(t,sin(t));legend('sin(t)') figure plot(t,cos(t));...

15年以上 前 | 0

回答済み
Inversion of ill Contioned Matrices
You could try scaling, or using <http://www.mathworks.com/help/techdoc/ref/pinv.html PINV>. However, I hope you are not taking ...

15年以上 前 | 0

回答済み
[DISCONTINUED] Wish-list for MATLAB Answer sections.
Answer numbers. If we can't link to a certain answer within a question, at least give the ability to link to the question and s...

15年以上 前 | 3

回答済み
if i have matrix x is 4 by 5, how can I retrieve the the row number and save it into y
x = ceil(rand(4,5)*20); % An example matrix. y = size(x,1); % Is this what you mean? y2 = x(4,:); % Or did you mean t...

15年以上 前 | 0

回答済み
Need help With "If" statement
I don't know what you mean by "I don't want it to recursion through values <0." An IF statement is not a recursive thing. If y...

15年以上 前 | 0

回答済み
combine (0 & 827 & .s) to 0827.s
x = 827; S = sprintf('0%i%s\n',x,'.hk') If your variable x might be any integer between 0 and 9999, and you must have a fo...

15年以上 前 | 1

| 採用済み

回答済み
How do I keep a handle and use FINDOBJ to get a handle again?
The FINDOBJ function finds the handle which fits the property/value pairs passed to it. It looks like you are passing a handle ...

15年以上 前 | 1

回答済み
Hump-day puzzler.
A variation on Walter's theme. Though I am not sure how different this is from just calling FPRINT in the conditional, and it i...

15年以上 前 | 0

回答済み
Creating an array from 2 other arrays
Z = setdiff(X,Y) or (just for fun): Z = X(~ismember(X,Y))

15年以上 前 | 0

| 採用済み

回答済み
Problem with conditional code and missing data
I think you will want the ISEMPTY function, or the EXIST function. If there might not be any data in limit, then check if it is...

15年以上 前 | 0

| 採用済み

回答済み
matrix nchoosk for column HELP
This file should do what you want. <http://www.mathworks.com/matlabcentral/fileexchange/10064-allcomb>

15年以上 前 | 0

回答済み
What do you like about MATLAB?
Superb, nearly complete documentation and corresponding search. I have been to the point of tears trying to find the simplest t...

15年以上 前 | 4

質問


Hump-day puzzler.
If you have seen this before, please let others figure it out! if (BLANK) disp('I Love ') else disp('MATLAB') ...

15年以上 前 | 18 件の回答 | 9

18

回答

回答済み
GUI for keyboard pressed representing the push button
Yes. Simply put the callbacks for the correct pushbuttons in the keypressfcn of the figure. You may need an enormous switchyar...

15年以上 前 | 4

| 採用済み

回答済み
How to mask an email address using m-code?
I don't quite know what you are after either, even with your response to Matt. If that is too long, I don't know what is shorte...

15年以上 前 | 2

| 採用済み

さらに読み込む