Respondida
how would i find a postive root
One way to find the roots is described <http://www.mathworks.com/matlabcentral/answers/103169-how-do-i-find-all-the-zeros-of-a-f...

más de 9 años hace | 0

Respondida
How to find the mean after every n columns?
NewMatrix = mymatrix(:,1:4:end); Youranswer = nanmean(NewMatrix , 2);

más de 9 años hace | 0

Respondida
Why is does the y axis of the graph have the same value all the way down?
Because |y(x)| barely changes in the interval |1*pi:0.1:pi|. Try a more densely spaced vector: i.e. x = -1*pi:pi/18...

más de 9 años hace | 0

Respondida
Newton Raphson m-file
I would recommend to take a look at Cleve Moler's book <http://nl.mathworks.com/moler/chapters.html Numerical Computing with M...

más de 9 años hace | 0

Respondida
Differentiation of a vector wrt a vetor
Assuming |Ls| and |delk| are of the same size: diff(Ls)./diff(delk)

más de 9 años hace | 0

| aceptada

Respondida
.jpg as a background on gui
You can create a figure and remove the MenuBar. In this figure you can display your image, whose |parent| is an axis. You can se...

más de 9 años hace | 0

Respondida
how compare two cplumns from different matrix;
Hallo Thodoris. [~, ii] = min(abs(bsxfun(@minus,A(:, 1)',B(:,1)))); % These are the row indexes of B(:,1) which are neare...

más de 9 años hace | 0

| aceptada

Respondida
Imaqtool cannot find any devices
As from Matlab version R2014b, you must manually install the video adapters for your camera. Read: <http://nl.mathworks.com/hel...

casi 10 años hace | 0

Respondida
Using a timer to execute a function
A simple timer: t = timer('BusyMode', 'Drop', ... 'ExecutionMode', 'fixedDelay', ... 'S...

casi 10 años hace | 0

| aceptada

Respondida
link x-axis from one figure with y-axis from another figure
You could create a callback and then add a listener. So a minimal example would be: CallBack: function test(src, evt, ax...

casi 10 años hace | 0

| aceptada

Respondida
How to change the cell color of UITABLE in MATLAB?
Based on <http://nl.mathworks.com/help/matlab/ref/uitable-properties.html this> and <http://stackoverflow.com/questions/7409766/...

casi 10 años hace | 0

| aceptada

Respondida
How to save data of UITABLE in Workspace
If you want to get the data whenever the data change use this: f = figure; d = randi(100, 7, 3); t = uitable(f,'Dat...

casi 10 años hace | 1

Respondida
Array input through MATALB - GUI
Yes it is possible with <http://nl.mathworks.com/help/matlab/ref/uitable.html uitable>. Check also the <http://nl.mathworks.com...

casi 10 años hace | 0

| aceptada

Respondida
YY axis scale on plotyy
Try to use linkaxes(AX, 'xy')

casi 10 años hace | 0

| aceptada

Respondida
Question about YDir, reverse
It should be set(gca, 'Ydir', 'reverse') The |plot| as mentioned above does not have a property |Ydir|. However...

casi 10 años hace | 0

Respondida
How to translate cartesian coordinates into polar coordinates?
Your function is |cart2pol|. Check <http://nl.mathworks.com/help/matlab/ref/cart2pol.html here> for more help.

casi 10 años hace | 0

Respondida
How can I use a USB webcam on Ubuntu linux 64-bit with MATLAB R2014b?
I have exactly the same problem with the same configuration (Check a similar post <http://www.mathworks.com/matlabcentral/answer...

casi 10 años hace | 0

Pregunta


Install video adapters in R2014b on Ubuntu 14.04 64bit system
I have a Ubuntu 14.04 64bit system on which I have installed R2014b. With previous versions of the Image Acquisition Toolbox, ...

casi 10 años hace | 0 respuestas | 0

0

respuestas

Respondida
Index of first empty cell in array?
If you want to add a certain value to each of the none empty rows in column 3 maybe you try the following: array(cellfun(@(x...

casi 10 años hace | 0

Respondida
How can I change the elements of a matrix when hovering over its figure with the mouse?
Hi Bogdan! Maybe you can try this: close all; clear all; clc; fig = figure; set(fig, 'Color',[0,0.5,0.5]); g...

casi 10 años hace | 0

| aceptada

Respondida
set the values to nan
Try this Hana B1 = tb1; B1(A1==0) = NaN;

casi 10 años hace | 0

Respondida
How can i make a n-pointed star?
Hello student from Korea! Why don't you try this? q = 4; % connect every qth point out of p points mingon = 2*q + 1;...

casi 10 años hace | 5

Respondida
How do I replace zeroes in a <logical> 0 and 1 array with NaNs?
It didn't work because you were trying to replace logical values (the zeros/false) with doubles (the NaN). So first, convert th...

casi 10 años hace | 1

| aceptada

Pregunta


Output class object inherits the property/value pairs of a figure
I am trying to write a simple class. The purpose of the class is to create a figure. What I do is: classdef myFig < ha...

casi 10 años hace | 2 respuestas | 0

2

respuestas

Respondida
Rendering issues in Matlab R2014b version when using patch
Thank you Mike for you input. The simplest workaround that can overcome this problem is setting the value |lm| very low. i.e. ...

casi 10 años hace | 0

Pregunta


Rendering issues in Matlab R2014b version when using patch
I am using |patch| to shade an area in a graph. The code that I am using is simple: lm = 0; s = 1:1000; d = [ones(1...

casi 10 años hace | 3 respuestas | 1

3

respuestas

Resuelto


Back and Forth Rows
Given a number n, create an n-by-n matrix in which the integers from 1 to n^2 wind back and forth along the rows as shown in the...

casi 10 años hace

Respondida
uicontrol text background color - value must be numeric
In your |uicontrol| when you use the |Fontsize| property remove the apostrophes around 12. It should be double not string.

casi 10 años hace | 0

| aceptada

Respondida
How do I remove rows with NaNs from my raw data?
I assume that your data are of nx1 or 1xn size. Then to delete the use this: data(isnan(data)) = [];

alrededor de 10 años hace | 0

Respondida
Comparing two arrays of different length
You could this to find it: idx = ismember(A', B', 'rows'); c = 1:size(A, 2); d = c(idx); % is your answer

alrededor de 10 años hace | 3

| aceptada

Cargar más