Discover MakerZone

MATLAB and Simulink resources for Arduino, LEGO, and Raspberry Pi

Learn more

Discover what MATLAB® can do for your career.

Opportunities for recent engineering grads.

Apply Today

SEARCH Advanced Search

  

Popular Tags: ... >> See all tags

View All: Most Recent | Most Active | Needing Replies


  View Subject Only
Duration: All Time | Last Year | Last 30 Days | Last 7 Days 1-25 of 468 || Next >> 
Message View

Subject:


Is there any reason why the stairs plot draws a graph up to - but not including - the final step?

e.g. this script only plots 2 steps
x=[1 2 3];
y=[3 4 5];
stairs(x,y)

It's easy to work around, but I was quite surprised.

Original post by craq
Last post by craq - 28 Aug 2014 - 2 replies

Subject:


Is there a way to plot directly to a 2D or 3D matrix. I would like to do some manipulation of the image of the plot. I know I could print / export to an image file then load that file back in as a matrix, but that seems unnecessarily cumbersome.

Than >> more

Original post by David
Last post by Nasser M. Abbasi - 28 Aug 2014 - 1 reply

Subject:


I was trying to optimize this code snippet. any idea how i can. I tried NDgrid but that leads to too much memory and Matlab says out pf memory.


siz = 300;
finalMat = double(zeros(siz,siz,siz));
  for i = 1:size(point3d,1)
    for j = 1:size(point3d,2) >> more

Original post by Ank
Last post by Ank - 28 Aug 2014

Subject:


Hello. I have a vector of dates that is stored in double. I want to convert the vector of dates from yyyymmdd to dd/mm, so I can plot the date correctly in the x-axis. Can I have a simple code to do this?

Original post by Andre
Last post by Andre - 28 Aug 2014

Subject:


Dear matlab friends,

Wishes to all.

I have 247 data of one input vector and one target vector. this data
can be categorized as train,validation and test ratio (60%,20%and 20%)
Train/val/Test=147/49/49.

Number of neuron used in hidden layer is 4.
Divid >> more

Original post by Murugan Solaiyappan
Last post by Greg Heath - 28 Aug 2014 - 6 replies

Subject:


Hi there,

Could you please tell me what is exactly the bandwidth that the ksdensity uses when the function is set to "cdf"?

As far as I can see it is a different bandwidth than the one used when the function of interest is the pdf. The code of ksdensity >> more

Original post by leo nidas
Last post by leo nidas - 28 Aug 2014

Subject:


if ~isempty(input)
  dx= A* x + B * u + b_ramp * input(t);
else
    dx = A*x + B*u ;
end

Original post by Muna Shehan
Last post by Nasser M. Abbasi - 28 Aug 2014 - 1 reply

Subject:


I was wondering how I would go about calculating the average amount of red, green and blue in a given image? I want to write a function for this. My function takes as an input a 3D array containing and RGB image and returns three scalar outputs detailin >> more

Original post by Caitlin Jordan
Last post by Caitlin Jordan - 28 Aug 2014

Subject:


Hello, i'm trying to run the program to find the position of an object using ellipsoids intersection. But got the error above. Here is my code. Please explain to me the reason i got error. DOF_ellipsoid is the distance measured from sensors

h_func = @z_f >> more

Original post by Hung Smart
Last post by Hung Smart - 28 Aug 2014

Subject:


Hello all,

I have come across a peculiar problem I was hoping I could get some insight into. I was saving variables from my workspace to load into another script. I was messing around with saving it as a .mat and an tab separated ascii using the respecti >> more

Original post by Nathan
Last post by dpb - 28 Aug 2014 - 2 replies

Subject:


Hi,

For my SIMULINK model I would need something like an integrator with
reset but with arbitrary transfer functions (to model non-idealities).

Alternatively, a transfer function which can be reset (with an external
reset signal).

A simple example woul >> more

Original post by Peter Mairhofer
Last post by Peter Mairhofer - 28 Aug 2014

Subject:


Hi,

I want to do pretty trivial stuff in Simulink but don't know how to deal
with it:

- Continuous time operation, if possible variable step solvers

- A signal should come from MATLAB workspace and be sampled (that's just
"From Workspace")

- The simul >> more

Original post by Peter Mairhofer
Last post by Peter Mairhofer - 28 Aug 2014

Subject:


hy,

i met a problem during importing a 'huge' excel file, i mean i have 900 columns and 600 rows, when i am trying to import this file with import wizard comand he generates me data till 256 column, my question is if this is the limit of data possible t >> more

Original post by Artur Artur
Last post by paolixina - 27 Aug 2014 - 2 replies

Subject:


Hi there,

Anyone knows of an implementation of Curvilinear Distance
Analysis (CDA) or at least its predecessor (CCA)?

An standalone implementation (perhaps in C or C++) that I
can call from MATLAB will do as well...

Thanks in advance

Original post by Felipe Orihuela-Espina
Last post by radhasenthil - 27 Aug 2014 - 2 replies

Subject:


Hi,

I am working with a nested structure with multiple fields, each field is a Nx1 vector (cell and double). {Ticker Date Open High Low Close Volume AdjClose}

Ticker Date ... AdjClose
A' 2175x1 cell ... 2175x1 double
'AAP' 2175x1 cell ... 217 >> more

Original post by amazon
Last post by amazon - 27 Aug 2014

Subject:


I have a rigid body model of a robot and I have successfully implemented a trajectory using motions (position, velocity and acceleration). It runs fine in forward and inverse dynamics mode. (see figure below)
Then I added joint flexibilities like so; ONE >> more

Original post by jphoton
Last post by jphoton - 27 Aug 2014 - 1 reply

Subject:


I am using Matlab/SimMechanics 1st generation.

-I use inverse dynamics to calculate the torques required to produce a specified motion for a model. Its a simple rotation of about 15 degrees.

-I then apply those torques to the same model in forward dynam >> more

Original post by jphoton
Last post by jphoton - 27 Aug 2014 - 1 reply

Subject:


Hello,

I just upgraded to Windows 7 and my MATLAB installation didn't come with a compiler. When I go to 'mex -setup', no compilers are listed.

Why is this? And what do I have to do to get a compiler? I've always used the one that came with MATLAB. >> more

Original post by Horace Lai
Last post by shilpis14 - 27 Aug 2014 - 14 replies

Subject:


I've just starting using the spectrogram function, but I can not get it to plot on a log scale for the frequency axis that mimics the plot generated by logy.

Here's the basic spectrogram I am running:


%% Wv is wave signal of the word shore
% fs = 14700 >> more

Original post by Petrina
Last post by Petrina - 27 Aug 2014

Subject:


I've just starting using the spectrogram function, but I can not get it to plot on a log scale for the frequency axis that mimics the plot generated by logy.

Here's the basic spectrogram I am running:


%% Wv is wave signal of the word shore
% fs = 14700 >> more

Original post by Petrina
Last post by Petrina - 27 Aug 2014

Subject:


G =

        0
        0
        0
        0 + 0.2000i
        0 - 0.2500i
        0 + 0.0500i
        0
        0
        0
        0 - 0.2000i
        0 + 0.2500i
        0 - 0.0500i
        0 >> more

Original post by Rizwan
Last post by Steven Lord - 27 Aug 2014 - 1 reply

Subject:


have open office, not ms office. I need to make a single horizontal line with the abilty to place varible height vertical lines labled as a timeline. I need a step by step, I am not very good at graphing.

Original post by Janet
Last post by Steven Lord - 27 Aug 2014 - 1 reply

Subject:


Remove first j on email

Original post by Janet
Last post by Janet - 27 Aug 2014

Subject:


Is there any way to force MATLAB to re-read in the history.xml file? I am using DropBox to synchronize my history.xml files on multiple computers. MATLAB seems to only ever append this file, not overwrite it, so this works wonderfully. I can run commands >> more

Original post by Chad
Last post by Chad - 27 Aug 2014 - 2 replies

Subject:


I am performing a simple data extraction from a database and exporting the contents to a Excel Spreadsheet. I have two buttons:

1. To extract data from the database and display them using uitable.
2. To export the uitable data to Excel spreadsheet.

Prob >> more

Original post by Jeiman
Last post by Sadik - 27 Aug 2014 - 3 replies

Post A New Message 1-25 of 468 || Next >> 
rssMost Recent Posts Feed

Contact us