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

  • SEARCH
  • Home
  • 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 8691815
In Process

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: June 13, 20262026-06-13T00:12:01+00:00 2026-06-13T00:12:01+00:00

clc; clear all; syms y a2 a3 %%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%% % [ 0.5 0.25 0.125 ]

  • 0
clc;
clear all;

syms y a2 a3

%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
% [ 0.5  0.25  0.125  ]    [ a2 ]    [ y ]
% [  1     1     1    ]    [ a3 ]  = [ 3 ]
% [  2     4     8    ]    [  6 ]    [ 2 ]
%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%

M = [0.5 0.25 0.125; 1 1 1; 2 4 8];
t = [a2 a3 6];
r = [y 3 2];

sol = M * t'

s1 = solve(sol(1), a2)   % solve for a2
s2 = solve(sol(2), a3)   % solve for a3

This is what I have so far.
These are my output

sol =

 conj(a2)/2 + conj(a3)/4 + 3/4
       conj(a2) + conj(a3) + 6
  2*conj(a2) + 4*conj(a3) + 48


s1 =

- conj(a3)/2 - 3/2 - Im(a3)*i


s2 =

- conj(a2) - 6 - 2*Im(a2)*i

sol looks like what we would have if we put them back into equation form:

0.5 * a2 + 0.25 * a3 + 0.125 * a4

a2 + a3 + a4 = 3

2*a2 + 4*a3 + 8*a4 = 2

where a4 is known == 6.

My problem is, I am stuck with how to use solve to actually solve these equations to get the values of a2 and a3.

s2 solve for a3 but it doesn’t match what we have on paper (not quite).
a2 + a3 + 6 = 3 should yield a3 = -3 – a2.

because of the imaginary. Somehow I need to equate the vector solution sol to the values [y 3 2] for each row.

  • 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-13T00:12:03+00:00Added an answer on June 13, 2026 at 12:12 am

    You need to provide solve function with an equation. Just as simple as that:

     sol = solve(M * t' == r');
    

    As a result you have

    sol.a2 = 17
    sol.a3 = -20
    sol.y = 17/4
    

    This works for MATLAB R2012b. In general this can be solved just in one line:

    solve('a2 / 2 + a3 / 4 - y + 3 / 4 = 0', 'a2 + a3 + 3 = 0', '2 * a2 + 4 * a3 + 46 = 0')
    

    P.S. I have checked, this works for MATLAB R2011b.

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

Sidebar

Related Questions

clear all; clc; % Constants width=12*0.0254; %Conversion: 1 inch = 0.0254 meters thickness=0.5*0.0254; length=16*0.0254;
clc clear all n=3; % Three column j=1; for ii=1:n C{ii}=cell(20,1) % Each column
I have a habit of beginning all my MATLAB scripts with clear all; close
clc clear all ii=1; S =cell(size(30,1)); % cell size. for ii=1:1:3 rand_id= rand(1,1) *3;
I have a script this MATLAB script: function semjudge clc; name = input('Name: ','s');
How do i apply these Gabor filter wavelets on an image ? close all;
this is the output of ginfo using Jacket/matlab: Detected CUDA-capable GPUs: CUDA driver 270.81,
I'm now going to give c++ a try to see what this language have
I suppose I have a straightforward question to answer. I have this piece of
I have a query like so: Dim clcexists = (From p In dbContext.Signatures _

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.