Sign Up

Sign Up to our social questions and Answers Engine to ask questions, answer people’s questions, and connect with other people.

Have an account? Sign In

Have an account? Sign In Now

Sign In

Login to our social questions & Answers Engine to ask questions answer people’s questions & connect with other people.

Sign Up Here

Forgot Password?

Don't have account, Sign Up Here

Forgot Password

Lost your password? Please enter your email address. You will receive a link and will create a new password via email.

Have an account? Sign In Now

You must login to ask a question.

Forgot Password?

Need An Account, Sign Up Here

Please briefly explain why you feel this question should be reported.

Please briefly explain why you feel this answer should be reported.

Please briefly explain why you feel this user should be reported.

Sign InSign Up

The Archive Base

The Archive Base Logo The Archive Base Logo

The Archive Base Navigation

  • Home
  • SEARCH
  • About Us
  • Blog
  • Contact Us
Search
Ask A Question

Mobile menu

Close
Ask a Question
  • Home
  • Add group
  • Groups page
  • Feed
  • User Profile
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Buy Points
  • Users
  • Help
  • Buy Theme
  • SEARCH
Home/ Questions/Q 8900159
In Process

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: June 15, 20262026-06-15T01:02:23+00:00 2026-06-15T01:02:23+00:00

So I have a matlab function I wrote that takes in a number and

  • 0

So I have a matlab function I wrote that takes in a number and returns an array of numbers (transposed). I need to plot this function. I was trying to use fplot but it was giving me errors:

Error in fplot (line 105)
x = xmin+minstep; y(2,:) = feval(fun,x,args{4:end});

Am I using the wrong plot function?

the function solves an equation of motion problem. I have this diff eq:

Mx'' + Cx'+ Kx = 0

where M, C, and K are 4×4 matrices and my function solves the general solution and outputs a vector of 4 values.

  • 1 1 Answer
  • 0 Views
  • 0 Followers
  • 0
Share
  • Facebook
  • Report

Leave an answer
Cancel reply

You must login to add an answer.

Forgot Password?

Need An Account, Sign Up Here

1 Answer

  • Voted
  • Oldest
  • Recent
  • Random
  1. Editorial Team
    Editorial Team
    2026-06-15T01:02:24+00:00Added an answer on June 15, 2026 at 1:02 am

    I fixed my problem by changing my function to accept an array of t values and then I used the plot function instead of fplot

    • 0
    • Reply
    • Share
      Share
      • Share on Facebook
      • Share on Twitter
      • Share on LinkedIn
      • Share on WhatsApp
      • Report

Sidebar

Related Questions

I have a Matlab function that creates a cell array with matrixes inside. It
I currently have a MATLAB function that looks like this: function outfile=multi_read(modelfrom,modelto,type) models=[modelfrom:1:modelto]; num_models=length(models);
I have installed Matlab r2010a on my computer I need use the function xlsread
I'd like to have a MATLAB array fill a column with numbers in increments
here's my matlab problem. I need to write a matlab function that copies all
I have some differential equations that I need to solve using MATLAB's ODE solvers.
I have to write this function in matlab to color segment an image based
I have an array of Epoch milliseconds (array of numbers) in Matlab. I would
I have this MATLAB function which receives the following input: A=[0 1; 0 -1];
I have matlab file matlab_param.m function matlab_param(param1, param2) disp(sprintf('param1 : %s', param1)); disp(sprintf('param2 :

Explore

  • Home
  • Add group
  • Groups page
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Users
  • Help
  • SEARCH

Footer

© 2021 The Archive Base. All Rights Reserved
With Love by The Archive Base

Insert/edit link

Enter the destination URL

Or link to existing content

    No search term specified. Showing recent items. Search or use up and down arrow keys to select an item.