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

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: June 4, 20262026-06-04T04:52:37+00:00 2026-06-04T04:52:37+00:00

corrects = [1×4 double] [1×4 double] [1×4 double] [1×4 double] [1×4 double] [1×4 double]

  • 0
corrects = 

[1x4 double]    [1x4 double]    [1x4 double]    [1x4 double]    [1x4 double]    [1x4 double]    [1x4 double]    [1x4 double]    [1x4 double]    [1x4 double]


corrects{1}

ans =

 9     8    10     7

how to put it in a matrix every first entry of the 10 corrects cell without loop?

 So I need :

 corrects{1}(1)

 ans =

 9

 corrects{2}(1)

 ans =

 8

I tried corrects{:}(1)

but obviously bad cell reference how to do it?

  • 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-04T04:52:39+00:00Added an answer on June 4, 2026 at 4:52 am

    Use cellfun like this:

    A = cellfun(@(x) x(1), corrects)
    

    Here is an example to show you that it works:

    >> corrects{:}
    ans =
        0.9572    0.4854    0.8003    0.1419
    
    ans =
        0.4218    0.9157    0.7922    0.9595
    
    ans =
        0.6557    0.0357    0.8491    0.9340
    
    ans =
        0.6787    0.7577    0.7431    0.3922
    
    ans =
        0.6555    0.1712    0.7060    0.0318
    
    
    >> A = cellfun(@(x) x(1), corrects)
    
    A =
        0.9572    0.4218    0.6557    0.6787    0.6555
    
    • 0
    • Reply
    • Share
      Share
      • Share on Facebook
      • Share on Twitter
      • Share on LinkedIn
      • Share on WhatsApp
      • Report

Sidebar

Related Questions

I am trying to make a program that automatically corrects the perspective of a
I'm trying to correct the usual IE bugs around CSS 2.1 and need a
I have an xts object, the first column of which is date-time, followed by
The documentation for boost's specialized iterator adaptors states that boost::reverse_iterator Corrects many of the
I currently have a display template for DateTime? objects that corrects the date depending
I'm using Xcode 4 and when I run my app, the first screen doesn't
I need help with a character encoding problem that I want to sort once
If a = 15 and 152 is represented as a2 while 215 is represented
I need to get visitors country information using classic asp 3.0, i'm using below
I really need your help in my issue very quickly and it's too close

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.