Pregunta


Challenge - Change my avatar colors
The spy function without arguments does my avatar picture, white background and blue "spy". # Change the background color # Cha...

casi 15 años hace | 2 respuestas | 0

2

respuestas

Respondida
Inserting a cell into a matrix
Welcome to MATLAB Answers. Wrong use of the word cell, MATLAB cells are another class different from array. a=zeros(7) a(1...

casi 15 años hace | 1

Respondida
Where is the error?
Just guessing: # g should be a logic value # SOC is a vector # SOC changes very quickly # Put the SOC value in a scope an...

casi 15 años hace | 0

Respondida
simulink matrix and vector creation
The constant block can create vectors, the mux block can turn each vector input in a row of the output array. You can also ma...

casi 15 años hace | 1

| aceptada

Pregunta


Funny situations while helping others on MATLAB Answers
Just for fun and mostly for those who are here almost everyday, tell us your funny situations (stories). # Someone who calls me...

casi 15 años hace | 17 respuestas | 9

17

respuestas

Respondida
MATLAB Central Answers website problem?
OMG now when I choose my own answers I get the oldest first and no way to reverse the order, that makes the feature completly us...

casi 15 años hace | 1

Respondida
How do I increase the amount of memory used by MATLAB?
memory Execute that command and read what MATLAB says.

casi 15 años hace | 1

Respondida
Needing a GUI for a structural model
The tool to build GUIs is called guide doc guide <http://www.mathworks.com/help/techdoc/creating_guis/bqz79mu.html#creating_gu...

casi 15 años hace | 0

| aceptada

Respondida
bar plot
Using my magic ball I will try to answer the question with one example made by me and based on the reference at the bottom fr...

casi 15 años hace | 0

| aceptada

Respondida
function entering and plotimg
function test123 figure axes('Position',[0.2 0.2 0.7 0.7]); pbh1 = uicontrol(gcf,'Style','pushbutton','String','New plot...

casi 15 años hace | 0

Respondida
Display Summation sign showing both upper and lower limit
figure1 = figure; axes1 = axes('Parent',figure1,... 'Position',[0.13 0.262 0.762 0.663]); text('Parent',axes1,...

casi 15 años hace | 1

| aceptada

Respondida
Suppressing plots and creating movies
doc movie %see the examples, very detailed and simple doc movie2avi

casi 15 años hace | 0

Respondida
Subplot after opening a saved figure
When you create a subplot get the handle for it like this h=subplot(... When you want to have one subplot as current axes do ax...

casi 15 años hace | 0

Respondida
plot point
x=[10 20 30 40 50 60 70 80 90]; y=[0.001 .05 0.1 .16 .7 .8 .01 .5 .3]; plot(x,y) hold on yi = interp1(x,y,65); ...

casi 15 años hace | 0

| aceptada

Respondida
How to check length of a .wav file through GUI
[y,fs] = wavread(filename); TotalTime = length(y)./fs; % time in seconds

casi 15 años hace | 1

| aceptada

Respondida
Asymetric Amplitude
t=0:0.01:10; f=sin(t); f(f<0)=f(f<0)/2; plot(t,f)

casi 15 años hace | 0

Respondida
Best way to filter a Matrix
Maybe this can help you start with a smooth algorithm po=[1 2 3 10 4 5 100 6 7 8 9 0 10 11 12 0 13 14 15 16] p=po; v=diff...

casi 15 años hace | 0

| aceptada

Respondida
Creating a Burst Random signal in Matlab
t=0:0.01:1; h=stairs(t,randi([0 1],1,numel(t))); axis([0 1 0 2]) YData=get(get(h,'children'),'YData'); %XData is the vec...

casi 15 años hace | 0

Respondida
Calling timer function from within another function
function doit x=2; t=timer('TimerFcn', @fun, 'ExecutionMode', 'fixedRate', 'Period', 1); function fun(obj,event) ...

casi 15 años hace | 0

Respondida
How to Plot Multiple variables ?(not multi-plot)
Bad idea to do it that way but I think you are missing axes hold on before the for loop

casi 15 años hace | 0

Respondida
defining constants in a equation
Just guessing by the tags, if you are referring to the solve function syms a b x %your symbolic variables c=1; %your con...

casi 15 años hace | 1

Respondida
strfind when I have more than one row
a=['Congratulations' 'to Walter ' 'for his 4000 ' 'reputation ' 'points '] rc=[];...

casi 15 años hace | 1

Respondida
Initial state vector "X0" must be a real vector of length 103.
My suggestion is for you to provide more details and/or that .m code you talk about

casi 15 años hace | 0

Respondida
Squeezing a two-dimensional array into a one-dimensional array without using a FOR loop
doc reshape A=[1 2 3 4; 5 6 7 8; 9 10 11 12] reshape(A',1,numel(A))

casi 15 años hace | 0

| aceptada

Respondida
Cannot set handles in Radio Button Group
Why do you reset all the radio buttons of the Radio Button Group? that doesn't make sense because the group must have one radio ...

casi 15 años hace | 0

| aceptada

Respondida
Function returning multiple vectors
function [A B C]=myFct %if the values have diferent sizes or classes replace [] with {} A=['Lorem' 'ipsum']; B=[-1 10]; ...

casi 15 años hace | 1

| aceptada

Respondida
Help writting a simple code!
MATLAB Fcn exp(u)*sum([1:10].* exp([1:10].*u)) %not infinite sum but close enough

casi 15 años hace | 0

Respondida
How to make [cx cy] the center of a user defined mesh grid of size [ix iy]
<http://www.mathworks.com/matlabcentral/answers/10089-image-rotate Image rotate>

casi 15 años hace | 0

Respondida
Maple Symbolic Toolbox
symengine Execute symengine and choose Mupad

casi 15 años hace | 0

| aceptada

Respondida
finding region
Just for fun I=[1 1 0 0 0 0 0 0 0 0 0 0 1 1 0 0 0 ...

casi 15 años hace | 0

Cargar más