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 7929319
In Process

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: June 3, 20262026-06-03T20:02:00+00:00 2026-06-03T20:02:00+00:00

I am trying to simply multiply a matrix to an image an get an

  • 0

I am trying to simply multiply a matrix to an image an get an output, and all of this has to be done in matlab GUIDE. I am not experienced in the language and due date is really soon, this is the code:

function t1_OpeningFcn(hObject, eventdata, handles, varargin)

imgview=imread('1.jpg');
imshow(imgview)

guidata(hObject, handles);

function varargout = t1_OutputFcn(hObject, eventdata, handles) 
varargout{1} = handles.output;

function slider3_Callback(hObject, eventdata, handles)


function pushbutton5_Callback(hObject, eventdata, handles)
B=4;
set(handles.imgview,'CData',B);

I am trying simply to let the slider pick a number to multiply to the image for now, or let a value when clicking a button multiply the image!

image of gui:
http://imageshack.us/photo/my-images/821/testojh.jpg/

  • 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-03T20:02:01+00:00Added an answer on June 3, 2026 at 8:02 pm

    One thing to remember is to pass the results back at the end of the pushbutton callback with guidata(hObject, handles). Also any modifications you make with additional written functions should return modified handles data.

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

Sidebar

Related Questions

all, I am trying to multiply a matrix to a vector in OpenGL, but
I simply trying (in vain) to remove all instances of the word 'at' during
I'm simply trying to crop a JPEG image (no scaling) using PHP. Here is
I'm trying to simply remove all nested li elements within ul , but it
I'm simply trying to get data from two sql server db tables using ado.net
I have a matrix multiply code that looks like this: for(i = 0; i
I am trying to select multiple columns, but not all of the columns, from
I'm simply trying to convert a CGEventTimestamp (which is an unsigned 64-bit integer roughly
I am simply trying to draw a rectangle inside of a panel using flex4.
I am simply trying to display a users location on a map, I am

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.